X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0308fd61a22323c48aa51d527c6c14b8c55c5b76..5b6c8794de19b49b0248b49c7fb7bf8a682ba38d:/src/common/datetime.cpp diff --git a/src/common/datetime.cpp b/src/common/datetime.cpp index dd2d9dbccb..1e84f0689c 100644 --- a/src/common/datetime.cpp +++ b/src/common/datetime.cpp @@ -839,7 +839,7 @@ void wxDateTime::GetAmPmStrings(wxString *am, wxString *pm) { tm tm; InitTm(tm); - char buffer[64]; + wxChar buffer[64]; // @Note: Do not call 'CallStrftime' here! CallStrftime checks the return code // and causes an assertion failed if the buffer is to small (which is good) - OR - // if strftime does not return anything because the format string is invalid - OR -