Fixed some printf format

Silenced warnings
This commit is contained in:
Sergi Granell
2014-05-16 18:24:09 +02:00
parent 1358568517
commit 75c6af6d0e
12 changed files with 24 additions and 24 deletions
+2 -2
View File
@@ -171,7 +171,7 @@ int str_utf8_to_u16(u16 **dst, u32 *dst_len, u8 *src, u32 src_len)
UTF8 *src_start = (UTF8*)src;
UTF8 *src_end = (UTF8*)(src+src_len*sizeof(u8));
return ConvertUTF8toUTF16 (&src_start, src_end, &target_start, target_end, strictConversion);
return ConvertUTF8toUTF16 ((const UTF8 **)&src_start, src_end, &target_start, target_end, strictConversion);
}
#endif
@@ -293,7 +293,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",fsize);
fprintf(stderr,"[!] %s has an invalid size (0x%llx)\n",file, fsize);
return NULL;
}
}