mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-12 14:47:57 +00:00
fixed some code warnings
This commit is contained in:
parent
c2867f7e14
commit
4f5d397379
@ -37,7 +37,7 @@
|
||||
|
||||
/// Application entry point
|
||||
int __cdecl main(int argc, char **argv) {
|
||||
u32 tight_loop;
|
||||
//u32 tight_loop;
|
||||
|
||||
printf("akiru starting...\n");
|
||||
|
||||
|
@ -781,7 +781,7 @@ bool ReadFileToString(bool text_file, const char *filename, std::string &str)
|
||||
if (!f)
|
||||
return false;
|
||||
|
||||
str.resize(GetSize(f));
|
||||
str.resize(static_cast<u32>(GetSize(f)));
|
||||
return file.ReadArray(&str[0], str.size());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user