Current News Archived News Search News Discussion Forum Old Forum Install Programs More Downloads... Troubleshooting Source Code Format Specs. Misc. Information Non-SF Stuff Links Small banner for links to this site: |
summary | graphiclog | shortlog | log | commit | commitdiff | tree
raw | combined (merge: 655bd6b 89eb0ac)
diff --cc SFUtil.cpp
--- 1/SFUtil.cpp
--- 2/SFUtil.cpp
+++ b/SFUtil.cpp
FilePos.i64 = nDistance;
- FilePos.i32[0] = ::SetFilePointer(hFile, FilePos.i32[0], &FilePos.i32[1], dwMoveMethod);
+ FilePos.ui32[0] = ::SetFilePointer(hFile, FilePos.i32[0], &FilePos.i32[1], dwMoveMethod);
+ #ifdef INVALID_SET_FILE_POINTER
if (FilePos.ui32[0] == INVALID_SET_FILE_POINTER) {
+ #else
+ if (FilePos.ui32[0] == INVALID_FILE_SIZE) {
+ #endif
if (::GetLastError() != NO_ERROR)
- return -1;
+ return (UInt64)-1;
}
- return FilePos.i64;
+ return FilePos.ui64;
}
size_t strlnlen(const char *strline)
diff --cc SFmpqapi.cpp
Simple merge
|