main.c, fseek usage

This commit is contained in:
rlar 2011-07-02 15:21:14 +00:00
parent e8f01efc9c
commit cf6a15ed42
1 changed files with 2 additions and 1 deletions

View File

@ -1212,7 +1212,8 @@ bot:
append_to_stream(tempfile, tp);
fclose(tp);
}
fseek(tempfile, (long) 0, 0);
fseek(tempfile, 0L, SEEK_SET);
if (tempfile && (!err || !ft_batchmode)) {
#if defined(HAS_WINDOWS) || defined(_MSC_VER) || defined(__MINGW32__)