rwops: Fixed another Windows build failure.
parent
4075748e41
commit
c637031294
|
@ -1553,7 +1553,7 @@ static int WaveReadPartialChunkData(SDL_RWops *src, WaveChunk *chunk, size_t len
|
||||||
return -2;
|
return -2;
|
||||||
}
|
}
|
||||||
|
|
||||||
chunk->size = SDL_RWread(src, chunk->data, length);
|
chunk->size = (size_t) SDL_RWread(src, chunk->data, length);
|
||||||
if (chunk->size != length) {
|
if (chunk->size != length) {
|
||||||
/* Expected to be handled by the caller. */
|
/* Expected to be handled by the caller. */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue