fixed displaying u64 values in printf

This commit is contained in:
applestash
2014-07-19 00:46:34 +10:00
parent 756fa2b84d
commit 291accd63d
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -13,6 +13,7 @@
#include <math.h>
#include <dirent.h>
#include <wchar.h>
#include <inttypes.h>
#include <sys/stat.h>
#include <sys/types.h>
+1 -1
View File
@@ -305,7 +305,7 @@ u8* ImportFile(char *file, u64 size)
u64 fsize = GetFileSize_u64(file);
if(size > 0){
if(size != fsize){
fprintf(stderr,"[!] %s has an invalid size (0x%llx)\n",file, fsize);
fprintf(stderr,"[!] %s has an invalid size (0x%"PRIx64")\n",file, fsize);
return NULL;
}
}