Browse Source

rwops: Fixed another Windows build failure.

Ryan C. Gordon 2 years ago
parent
commit
c637031294
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/audio/SDL_wave.c

+ 1 - 1
src/audio/SDL_wave.c

@@ -1553,7 +1553,7 @@ static int WaveReadPartialChunkData(SDL_RWops *src, WaveChunk *chunk, size_t len
             return -2;
         }
 
-        chunk->size = SDL_RWread(src, chunk->data, length);
+        chunk->size = (size_t) SDL_RWread(src, chunk->data, length);
         if (chunk->size != length) {
             /* Expected to be handled by the caller. */
         }