projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37633e1
)
cast before comparing
author
Matthias Braun
<matze@braunis.de>
Sat, 26 May 2007 20:48:27 +0000
(20:48 +0000)
committer
Matthias Braun
<matze@braunis.de>
Sat, 26 May 2007 20:48:27 +0000
(20:48 +0000)
SVN-Revision: 5043
src/audio/sound_file.cpp
patch
|
blob
|
history
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;
}
}