dll\win32\shell32\fprop.cpp: In function 'void FormatBytes(_LARGE_INTEGER*, wcha r_t*)': dll\win32\shell32\fprop.cpp:78: error: invalid conversion from 'wchar_t' to 'WCH AR*' dll\win32\shell32\fprop.cpp:78: warning: deprecated conversion from string const ant to 'WCHAR*' dll\win32\shell32\fprop.cpp:80: error: invalid conversion from 'int' to 'const w char_t*' dll\win32\shell32\fprop.cpp:80: error: initializing argument 2 of 'int swprint f(wchar_t*, const wchar_t*, ...)' dll\win32\shell32\fprop.cpp: In function 'BOOL SH_FileGeneralSetFileSizeTime(HWN D__*, WCHAR*, _ULARGE_INTEGER*)': dll\win32\shell32\fprop.cpp:448: error: invalid conversion from 'LONGLONG' to '_ LARGE_INTEGER*' dll\win32\shell32\fprop.cpp:448: error: initializing argument 1 of 'void Forma tBytes(_LARGE_INTEGER*, wchar_t*)' make.exe: *** [obj-i386\dll\win32\shell32\fprop_shell32.o] Error 1 void FormatBytes(PLARGE_INTEGER numBytes, wchar_t *wstr) { wchar_t strfrmt[MAX_NUMSTR_LENGTH] = {L'\0'}; wchar_t strfrmt2[MAX_NUMSTR_LENGTH] = {L'\0'}; WCHAR FormatBuffer[MAX_NUMSTR_LENGTH]; NUMBERFMT numFormat = {0, 0, 3, L' ', L",", 0}; swprintf(strfrmt, MAX_NUMSTR_LENGTH, L"%I64u", numBytes); //%I64u if (GetNumberFormatW(LOCALE_USER_DEFAULT, 0, strfrmt, &numFormat, strfrmt2, MAX_NUMSTR_LENGTH)) { if (!LoadStringW(shell32_hInstance, IDS_PROP_BYTES, FormatBuffer, sizeof(FormatBuffer) / sizeof(WCHAR))) { /* use default english format string */ wcscpy(FormatBuffer, L"bytes"); } swprintf(strfrmt, L" (%s %s)", strfrmt2, FormatBuffer); wcscat(wstr, strfrmt); } }