Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -316,7 +316,7 @@ void VsnprintfTestCase::LongLong()
|
|||||||
|
|
||||||
#ifdef __WXMSW__
|
#ifdef __WXMSW__
|
||||||
CMP3("123456789", "%I64d", (wxLongLong_t)123456789);
|
CMP3("123456789", "%I64d", (wxLongLong_t)123456789);
|
||||||
CMP3("123456789abcdef", "%I64x", (wxLongLong_t)0x123456789abcdef);
|
CMP3("123456789abcdef", "%I64x", wxLL(0x123456789abcdef));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
@@ -334,7 +334,7 @@ void VsnprintfTestCase::Misc(wxChar *buffer, int size)
|
|||||||
// size.
|
// size.
|
||||||
//
|
//
|
||||||
// Note that in the second case (i.e. when we're using our own implementation),
|
// 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
|
// test without positionals
|
||||||
CMPTOSIZE(buffer, size, "123 444444444 - test - 555 -0.666",
|
CMPTOSIZE(buffer, size, "123 444444444 - test - 555 -0.666",
|
||||||
@@ -415,7 +415,7 @@ static void DoMisc(
|
|||||||
|
|
||||||
va_list ap;
|
va_list ap;
|
||||||
va_start(ap, format);
|
va_start(ap, format);
|
||||||
|
|
||||||
int n = wxVsnprintf(buf, max, format, ap);
|
int n = wxVsnprintf(buf, max, format, ap);
|
||||||
|
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
|
Reference in New Issue
Block a user