X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/595191bba9f92c3dad805a4745071bd99bf25175..f5766910b6731eb03e82371416e9778203396ce7:/src/msw/wince/time.cpp diff --git a/src/msw/wince/time.cpp b/src/msw/wince/time.cpp index 965502e15b..d53f58b69f 100644 --- a/src/msw/wince/time.cpp +++ b/src/msw/wince/time.cpp @@ -4,7 +4,7 @@ // Author: Marco Cavallini (MCK) - wx@koansoftware.com // Modified by: // Created: 31-08-2003 -// RCS-ID: +// RCS-ID: $Id$ // Copyright: (c) Marco Cavallini // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -510,7 +510,7 @@ size_t wcsftime(wchar_t *s, wxString formatStr(format); wxCharBuffer bufFormatStr(formatStr.mb_str()); - size_t sz = strftime(sBuf, maxsize/sizeof(wchar_t), bufFormatStr, t); + size_t sz = strftime(sBuf.data(), maxsize/sizeof(wchar_t), bufFormatStr, t); wxMB2WC(s, sBuf, maxsize);