Module: wine Branch: master Commit: 39ebaba506f86bfee8b4ab716588ca429c906396 URL: http://source.winehq.org/git/wine.git/?a=commit;h=39ebaba506f86bfee8b4ab7165...
Author: Alexandre Julliard julliard@winehq.org Date: Fri May 9 11:18:27 2008 +0200
winefile: Fix the printf formats for file sizes.
---
programs/winefile/winefile.c | 9 +-------- 1 files changed, 1 insertions(+), 8 deletions(-)
diff --git a/programs/winefile/winefile.c b/programs/winefile/winefile.c index d21f595..9b41aa1 100644 --- a/programs/winefile/winefile.c +++ b/programs/winefile/winefile.c @@ -196,15 +196,8 @@ static const TCHAR sQMarks[] = {'?','?','?','\0'}; static const TCHAR sWINEFILEFRAME[] = {'W','F','S','_','F','r','a','m','e','\0'}; static const TCHAR sWINEFILETREE[] = {'W','F','S','_','T','r','e','e','\0'};
-#ifdef _MSC_VER -/* #define LONGLONGARG _T("I64") */ static const TCHAR sLongHexFmt[] = {'%','I','6','4','X','\0'}; -static const TCHAR sLongNumFmt[] = {'%','I','6','4','d','\0'}; -#else -/* #define LONGLONGARG _T("L") */ -static const TCHAR sLongHexFmt[] = {'%','L','X','\0'}; -static const TCHAR sLongNumFmt[] = {'%','L','d','\0'}; -#endif +static const TCHAR sLongNumFmt[] = {'%','I','6','4','u','\0'};
/* load resource string */