winevdm: Don't use sizeof in traces to avoid printf format warnings.

This commit is contained in:
Alexandre Julliard 2006-06-13 14:12:07 +02:00
parent 46a5f91357
commit c425045abb
1 changed files with 1 additions and 3 deletions

View File

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