Commit 838408a3 authored by Josh Coalson's avatar Josh Coalson
Browse files

minor casting

parent df5783a2
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment