winevdm: Don't use sizeof in traces to avoid printf format warnings.
This commit is contained in:
parent
46a5f91357
commit
c425045abb
|
@ -119,9 +119,7 @@ static BOOL read_pif_file( HANDLE hFile, char *progname, char *title,
|
|||
pifhead_t pifheader;
|
||||
if( !GetFileSizeEx( hFile, &filesize) ||
|
||||
filesize.QuadPart < (sizeof(pifhead_t) + sizeof(recordhead_t))) {
|
||||
WINE_ERR("Invalid pif file: size error %d must be >= %d\n",
|
||||
(int)filesize.QuadPart,
|
||||
(sizeof(pifhead_t) + sizeof(recordhead_t)));
|
||||
WINE_ERR("Invalid pif file: size error %d\n", (int)filesize.QuadPart);
|
||||
return FALSE;
|
||||
}
|
||||
SetFilePointer( hFile, 0, NULL, FILE_BEGIN);
|
||||
|
|
Loading…
Reference in New Issue