-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SDL_config: return a value from a non-void function
This was an error on clang.
- Loading branch information
1 parent
02b7be4
commit be8809c
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- SDL_mixer-1.2.12/music_mad.c.orig 2021-08-08 19:07:23.524236900 -0700 | ||
+++ SDL_mixer-1.2.12/music_mad.c 2021-08-08 19:09:57.811542200 -0700 | ||
@@ -224,7 +224,7 @@ | ||
if ((mp3_mad->status & MS_playing) == 0) { | ||
/* We're not supposed to be playing, so send silence instead. */ | ||
memset(stream, 0, len); | ||
- return; | ||
+ return len; | ||
} | ||
|
||
out = stream; |