summaryrefslogtreecommitdiffstats
path: root/src/sdl_sound-1-constant-integer-expression-vs-sign-bit.patch
blob: 5ec5e384491ca4841709c49fb45ac9319bdf0828 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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;