From 6f8415ca56edda7ff40e71bfe78823afdd4f0b1f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 8 Jan 2007 11:17:15 +0000 Subject: [PATCH] use wxLongLong_t instead of long long git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/wxchar.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/common/wxchar.cpp b/src/common/wxchar.cpp index c63bfcc552..52fc61910b 100644 --- a/src/common/wxchar.cpp +++ b/src/common/wxchar.cpp @@ -243,7 +243,7 @@ typedef union { int pad_int; // %d, %i, %o, %u, %x, %X long int pad_longint; // %ld, etc #ifdef wxLongLong_t - long long int pad_longlongint; // %Ld, etc + wxLongLong_t pad_longlongint; // %Ld, etc #endif size_t pad_sizet; // %Zd, etc @@ -534,9 +534,9 @@ bool wxPrintfConvSpec::Parse(const wxChar *format) else if (ilen == 2) #ifdef wxLongLong_t m_type = wxPAT_LONGLONGINT; -#else // !long long +#else // !wxLongLong_t m_type = wxPAT_LONGINT; -#endif // long long/!long long +#endif // wxLongLong_t/!wxLongLong_t else if (ilen == 3) m_type = wxPAT_SIZET; done = true; @@ -704,9 +704,9 @@ bool wxPrintfConvSpec::LoadArg(wxPrintfArg *p, va_list &argptr) break; #ifdef wxLongLong_t case wxPAT_LONGLONGINT: - p->pad_longlongint = va_arg(argptr, long long int); + p->pad_longlongint = va_arg(argptr, wxLongLong_t); break; -#endif +#endif // wxLongLong_t case wxPAT_SIZET: p->pad_sizet = va_arg(argptr, size_t); break; -- 2.45.2