Browse Source

fixed some code warnings

pull/15/merge
ShizZy 12 years ago
parent
commit
4f5d397379
  1. 2
      src/akiru/src/akiru.cpp
  2. 2
      src/common/src/file_util.cpp

2
src/akiru/src/akiru.cpp

@ -37,7 +37,7 @@
/// Application entry point /// Application entry point
int __cdecl main(int argc, char **argv) { int __cdecl main(int argc, char **argv) {
u32 tight_loop;
//u32 tight_loop;
printf("akiru starting...\n"); printf("akiru starting...\n");

2
src/common/src/file_util.cpp

@ -781,7 +781,7 @@ bool ReadFileToString(bool text_file, const char *filename, std::string &str)
if (!f) if (!f)
return false; return false;
str.resize(GetSize(f));
str.resize(static_cast<u32>(GetSize(f)));
return file.ReadArray(&str[0], str.size()); return file.ReadArray(&str[0], str.size());
} }

Loading…
Cancel
Save