From 555ba77568b6faf18ebaed06cd08615deab2d8e3 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sat, 7 Jun 2008 05:30:58 +0000 Subject: This is a testing version. Nothing should be broken, but I won't gurantee it. I wouldn't update to this just yet, if you have problems, back off a rev. I'm trying to update the code to work on both 32bit, and 64bit systems, and hopefully anything else that comes along. Currently some of the archive code is broken, testing must be done on both archetectures. --- src/tests/fstring.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/tests') diff --git a/src/tests/fstring.cpp b/src/tests/fstring.cpp index 43de18f..6288ccb 100644 --- a/src/tests/fstring.cpp +++ b/src/tests/fstring.cpp @@ -34,7 +34,7 @@ Bu::FString genThing() bob += "cd "; bob += "efg"; - printf("---bob------\n%08X: %s\n", (unsigned int)bob.getStr(), + printf("---bob------\n%08tX: %s\n", (ptrdiff_t)bob.getStr(), bob.getStr() ); return bob; } @@ -115,7 +115,7 @@ void doTimings() delete[] buf; } -#define pem printf("---------\n%08X: %s\n%08X: %s\n", (unsigned int)str.getStr(), str.getStr(), (unsigned int)str2.getStr(), str2.getStr() ); +#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[] ) { Bu::FString fs1; -- cgit v1.2.3