projects
/
platform
/
upstream
/
flac.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44937a7
)
msvc fixes
author
Josh Coalson
<jcoalson@users.sourceforce.net>
Wed, 12 Sep 2007 02:43:45 +0000
(
02:43
+0000)
committer
Josh Coalson
<jcoalson@users.sourceforce.net>
Wed, 12 Sep 2007 02:43:45 +0000
(
02:43
+0000)
src/flac/encode.c
patch
|
blob
|
history
diff --git
a/src/flac/encode.c
b/src/flac/encode.c
index
f939d45
..
8d24349
100644
(file)
--- a/
src/flac/encode.c
+++ b/
src/flac/encode.c
@@
-2886,7
+2886,7
@@
FLAC__bool fskip_ahead(FILE *f, FLAC__uint64 offset)
/* MS' stdio impl can't even seek forward on stdin, have to use pure non-fseek() version: */
while(offset > 0) {
const long need = (long)min(offset, sizeof(dump));
- if(fread(dump, 1, need, f) < need)
+ if(
(long)
fread(dump, 1, need, f) < need)
return false;
offset -= need;
}