rwops: Fixed another Windows build failure.

main
Ryan C. Gordon 2022-12-15 00:16:02 -05:00
parent 4075748e41
commit c637031294
No known key found for this signature in database
GPG Key ID: FA148B892AB48044
1 changed files with 1 additions and 1 deletions

View File

@ -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. */
}