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:
df5783a
)
minor casting
author
Josh Coalson
<jcoalson@users.sourceforce.net>
Fri, 24 Sep 2004 04:54:08 +0000
(
04:54
+0000)
committer
Josh Coalson
<jcoalson@users.sourceforce.net>
Fri, 24 Sep 2004 04:54:08 +0000
(
04:54
+0000)
src/flac/encode.c
patch
|
blob
|
history
diff --git
a/src/flac/encode.c
b/src/flac/encode.c
index
4a34e3a
..
975d66e
100644
(file)
--- a/
src/flac/encode.c
+++ b/
src/flac/encode.c
@@
-2119,7
+2119,7
@@
FLAC__bool fskip_ahead(FILE *f, FLAC__uint64 offset)
while(offset > 0) {
long need = (long)min(offset, LONG_MAX);
if(fseek(f, need, SEEK_CUR) < 0) {
- need = min(offset, sizeof(dump));
+ need =
(long)
min(offset, sizeof(dump));
if(fread(dump, need, 1, f) < 1)
return false;
}