Commits

jonhedgerows  committed 5191bfa

Change filestats to _stati64 to compile correctly with _wstati64

  • Participants
  • Parent commits 013cd44

Comments (0)

Files changed (1)

File src/util.cpp

 	if ( IsUnicodeWinOS() && UnicodeOutputStatus == WIN32_UTF16) {
 		wchar_t* utf16_filepath = Convert_multibyteUTF8_to_wchar(utf8_filepath);
 		
-		struct _stat fileStats;
+		struct _stati64 fileStats;
 		_wstati64(utf16_filepath, &fileStats);
 		
 		free(utf16_filepath);