From 806122d1b5664a50b4d2273c04e004c2d38f8898 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 2 Mar 2010 08:24:49 +0000 Subject: typo --- lib/common/Test.cpp | 6 +++--- 1 file 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. -- cgit v1.2.3