From 0975d66d2f06603f5e4016440b333aac88e2958a Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 24 Sep 2008 03:22:58 +0000 Subject: Ok, now all the warnings are gone (except for those coming from nids, but that's ok, nids is still in flux, they'll be gone soon). --- src/tests/fstring.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/tests/fstring.cpp') diff --git a/src/tests/fstring.cpp b/src/tests/fstring.cpp index 6288ccb..b392eb7 100644 --- a/src/tests/fstring.cpp +++ b/src/tests/fstring.cpp @@ -116,7 +116,7 @@ void doTimings() } #define pem printf("---------\n%08tX: %s\n%08tX: %s\n", (ptrdiff_t)str.getStr(), str.getStr(), (ptrdiff_t)str2.getStr(), str2.getStr() ); -int main( int argc, char *argv[] ) +int main( ) { Bu::FString fs1; for( int j = 0; j < 500000; j++ ) fs1 += (char)('a'+(j%26)); @@ -148,5 +148,7 @@ int main( int argc, char *argv[] ) printf("%d == %d\n", Bu::__calcHashCode( str ), Bu::__calcHashCode( str.getStr() ) ); doTimings(); + + return 0; } -- cgit v1.2.3