Fix potential segfault in debug printf in expSetFilePointer

Patch by Gianluigi Tiesi


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26486 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rtogni 2008-04-21 20:58:20 +00:00
parent ff0eed8150
commit 61c5bf8d61
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{