diff options
author | Tony Theodore <tonyt@logyst.com> | 2017-07-25 07:23:25 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2017-07-25 07:23:25 (GMT) |
commit | 8c1d61dc2e8da589d0d6284825c3bd1cab276f81 (patch) | |
tree | 59ce99c779c7fbe3d89922b5603c44cabefd3311 /src/sdl_sound-1-constant-integer-expression-vs-sign-bit.patch | |
parent | fda212c27372f4da7b46bc65f80fcd8d0ff1e00f (diff) | |
parent | c4269a55793b88967c92c1c21e95de3148705ea1 (diff) | |
download | mxe-8c1d61dc2e8da589d0d6284825c3bd1cab276f81.zip mxe-8c1d61dc2e8da589d0d6284825c3bd1cab276f81.tar.gz mxe-8c1d61dc2e8da589d0d6284825c3bd1cab276f81.tar.bz2 |
Merge branch 'sdl_sound-test-program-compilation-with-gcc6' of https://github.com/mbunkus/mxe into mbunkus-sdl_sound-test-program-compilation-with-gcc6
Diffstat (limited to 'src/sdl_sound-1-constant-integer-expression-vs-sign-bit.patch')
-rw-r--r-- | src/sdl_sound-1-constant-integer-expression-vs-sign-bit.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/sdl_sound-1-constant-integer-expression-vs-sign-bit.patch b/src/sdl_sound-1-constant-integer-expression-vs-sign-bit.patch new file mode 100644 index 0000000..5ec5e38 --- /dev/null +++ b/src/sdl_sound-1-constant-integer-expression-vs-sign-bit.patch @@ -0,0 +1,13 @@ +diff --git a/SDL_sound.h b/SDL_sound.h +index b0b8c97..81c1446 100644 +--- a/SDL_sound.h ++++ b/SDL_sound.h +@@ -114,7 +114,7 @@ typedef enum + /* these are set during decoding... */ + SOUND_SAMPLEFLAG_EOF = 1 << 29, /**< End of input stream. */ + SOUND_SAMPLEFLAG_ERROR = 1 << 30, /**< Unrecoverable error. */ +- SOUND_SAMPLEFLAG_EAGAIN = 1 << 31 /**< Function would block, or temp error. */ ++ SOUND_SAMPLEFLAG_EAGAIN = (int)(1u << 31) /**< Function would block, or temp error. */ + } Sound_SampleFlags; + + |