From e2cd68454ad44e03b875eb0f92cde6cdbee925e5 Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Wed, 20 Feb 2008 22:20:17 +0000 Subject: [PATCH] Compile fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/strings/vsnprintf.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/strings/vsnprintf.cpp b/tests/strings/vsnprintf.cpp index 9ee6e34577..1c9792fa63 100644 --- a/tests/strings/vsnprintf.cpp +++ b/tests/strings/vsnprintf.cpp @@ -316,7 +316,7 @@ void VsnprintfTestCase::LongLong() #ifdef __WXMSW__ CMP3("123456789", "%I64d", (wxLongLong_t)123456789); - CMP3("123456789abcdef", "%I64x", (wxLongLong_t)0x123456789abcdef); + CMP3("123456789abcdef", "%I64x", wxLL(0x123456789abcdef)); #endif } #endif @@ -334,7 +334,7 @@ void VsnprintfTestCase::Misc(wxChar *buffer, int size) // size. // // Note that in the second case (i.e. when we're using our own implementation), - // wxVsnprintf() will always return the number of characters which + // wxVsnprintf() will always return the number of characters which // test without positionals CMPTOSIZE(buffer, size, "123 444444444 - test - 555 -0.666", @@ -415,7 +415,7 @@ static void DoMisc( va_list ap; va_start(ap, format); - + int n = wxVsnprintf(buf, max, format, ap); va_end(ap);