projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cast before comparing
[supertux.git]
/
src
/
audio
/
sound_file.cpp
diff --git
a/src/audio/sound_file.cpp
b/src/audio/sound_file.cpp
index
a9e61e7
..
f77601f
100644
(file)
--- a/
src/audio/sound_file.cpp
+++ b/
src/audio/sound_file.cpp
@@
-272,7
+272,7
@@
OggSoundFile::read(void* _buffer, size_t buffer_size)
if(bytes_left_till_loop <= 4)
break;
- if(bytes_left_till_loop < bytes_to_read) {
+ if(bytes_left_till_loop <
(ogg_int64_t)
bytes_to_read) {
bytes_to_read = (size_t) bytes_left_till_loop;
}
}