mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-10 16:58:02 -05:00
fixed some code warnings
This commit is contained in:
@ -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());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user