Fx a compiler warning

svn path=/trunk/boinc/; revision=13545
This commit is contained in:
Charlie Fenton 2007-09-05 11:12:32 +00:00
parent ea72513b12
commit 902b5a4597
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ int read_file_malloc(const char* path, char*& buf, int max_len, bool tail) {
if (max_len && size > max_len) {
if (tail) {
fseek(f, size-max_len, SEEK_SET);
fseek(f, (long)size-max_len, SEEK_SET);
}
size = max_len;
}