diff --git a/src/Learning/KWTest/CreateLargeFiles.cpp b/src/Learning/KWTest/CreateLargeFiles.cpp index 83faf2bd8..7a3efed0a 100644 --- a/src/Learning/KWTest/CreateLargeFiles.cpp +++ b/src/Learning/KWTest/CreateLargeFiles.cpp @@ -12,7 +12,7 @@ boolean MovePositionInBinaryFile(FILE* fFile, longint lOffset) #if defined __MSC__ _fseeki64(fFile, lOffset, SEEK_CUR); #elif defined(__APPLE__) - fseeko(fFile, lOffset, nWhence); + fseeko(fFile, lOffset, SEEK_CUR); #else fseeko64(fFile, lOffset, SEEK_CUR); #endif