summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2010-03-02 08:25:50 +0000
committerChris Wilson <chris+github@qwirx.com>2010-03-02 08:25:50 +0000
commit08cc80e58991acb84326228bcffa49619f7444f2 (patch)
tree834189e4d17d9e9aed1573219a55e30d192c52df
parent806122d1b5664a50b4d2273c04e004c2d38f8898 (diff)
Undo
-rw-r--r--lib/common/Test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/common/Test.cpp b/lib/common/Test.cpp
index 50818839..b1cbb5a9 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 std::string& rFilename)
+int TestGetFileSize(const char *Filename)
{
EMU_STRUCT_STAT st;
- if(EMU_STAT(rFilename.c_str(), &st) == 0)
+ if(EMU_STAT(Filename, &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)
{
- // FIXME evil hack for OSX, where ts.tv_sec contains
+ // FIME evil hack for OSX, where ts.tv_sec contains
// a negative number interpreted as unsigned 32-bit
// when nanosleep() returns later than expected.