From 2a49987a29270e14b5a9396b0ab3b7b4588770c3 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 28 Apr 2008 23:01:03 +0000 Subject: Apparently there were a number of things that weren't strict ISO C++, the new version of gcc complained about them, none of these changes will break backward compatibility, so I fixed them. I added more docs too, it seems. --- src/tests/fstring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/fstring.cpp') diff --git a/src/tests/fstring.cpp b/src/tests/fstring.cpp index f4dfc52..43de18f 100644 --- a/src/tests/fstring.cpp +++ b/src/tests/fstring.cpp @@ -116,7 +116,7 @@ void doTimings() } #define pem printf("---------\n%08X: %s\n%08X: %s\n", (unsigned int)str.getStr(), str.getStr(), (unsigned int)str2.getStr(), str2.getStr() ); -int main( int argc, char *argv ) +int main( int argc, char *argv[] ) { Bu::FString fs1; for( int j = 0; j < 500000; j++ ) fs1 += (char)('a'+(j%26)); -- cgit v1.2.3