diff options
Diffstat (limited to 'loader/win32.c')
-rw-r--r-- | loader/win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/win32.c b/loader/win32.c index 5f96b85f72..e03ee4c0a5 100644 --- a/loader/win32.c +++ b/loader/win32.c @@ -3666,7 +3666,7 @@ static WIN_BOOL WINAPI expWriteFile(HANDLE h,LPCVOID pv,DWORD size,LPDWORD wr,LP static DWORD WINAPI expSetFilePointer(HANDLE h, LONG val, LPLONG ext, DWORD whence) { int wh; - dbgprintf("SetFilePointer(%d, 0x%x, 0x%x = %d, %d)\n", h, val, ext, *ext, whence); + dbgprintf("SetFilePointer(%d, 0x%x, 0x%x = %d, %d)\n", h, val, ext, ext ? *ext : NULL, whence); //why would DLL want temporary file with >2Gb size? switch(whence) { |