summaryrefslogtreecommitdiffstats
path: root/audio/openal-soft/files/patch-OpenAL32_alBuffer.c
blob: 974f84ec5557b4e97b87a7742c3cf41d36f70632 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- OpenAL32/alBuffer.c.orig	2017-07-30 05:09:21 UTC
+++ OpenAL32/alBuffer.c
@@ -1171,7 +1171,7 @@ static ALboolean DecomposeUserFormat(ALenum format, en
         { AL_FORMAT_BFORMAT3D_FLOAT32, UserFmtBFormat3D, UserFmtFloat },
         { AL_FORMAT_BFORMAT3D_MULAW,   UserFmtBFormat3D, UserFmtMulaw },
     };
-    ALuint i;
+    volatile ALuint i;
 
     for(i = 0;i < COUNTOF(list);i++)
     {
OpenPOWER on IntegriCloud