diff options
Diffstat (limited to 'lib/common/Test.cpp')
-rw-r--r-- | lib/common/Test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/common/Test.cpp b/lib/common/Test.cpp index 56638058..6d685918 100644 --- a/lib/common/Test.cpp +++ b/lib/common/Test.cpp @@ -43,10 +43,10 @@ bool TestDirExists(const char *Filename) } // -1 if doesn't exist -int TestGetFileSize(const char *Filename) +int TestGetFileSize(const std::string& Filename) { EMU_STRUCT_STAT st; - if(EMU_STAT(Filename, &st) == 0) + if(EMU_STAT(Filename.c_str(), &st) == 0) { return st.st_size; } |