diff options
author | Chris Wilson <chris+github@qwirx.com> | 2010-03-02 08:24:49 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2010-03-02 08:24:49 +0000 |
commit | 806122d1b5664a50b4d2273c04e004c2d38f8898 (patch) | |
tree | d0ba45cf746031badf0a4cd8aa6fb4685b4605e0 | |
parent | 03a71287fa2f4ef79b59ecbdbb1fd47d51240c66 (diff) |
typo
-rw-r--r-- | lib/common/Test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/common/Test.cpp b/lib/common/Test.cpp index b1cbb5a9..50818839 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& rFilename) { EMU_STRUCT_STAT st; - if(EMU_STAT(Filename, &st) == 0) + if(EMU_STAT(rFilename.c_str(), &st) == 0) { return st.st_size; } @@ -462,7 +462,7 @@ void safe_sleep(int seconds) ts.tv_nsec = 0; while (nanosleep(&ts, &ts) == -1 && errno == EINTR) { - // FIME evil hack for OSX, where ts.tv_sec contains + // FIXME evil hack for OSX, where ts.tv_sec contains // a negative number interpreted as unsigned 32-bit // when nanosleep() returns later than expected. |