X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/99646f7ee4afb3d7d929e1d396e56de8c1aed622..36bd690299dc72d49c4a945fa467ac7ce2342019:/src/common/timercmn.cpp?ds=sidebyside diff --git a/src/common/timercmn.cpp b/src/common/timercmn.cpp index e90b5fd4ad..035361aaac 100644 --- a/src/common/timercmn.cpp +++ b/src/common/timercmn.cpp @@ -220,7 +220,8 @@ long wxGetLocalTime() // Get UTC time as seconds since 00:00:00, Jan 1st 1970 long wxGetUTCTime() { - struct tm tm, *ptm; + struct tm tm; + struct tm *ptm; time_t t0, t1; // This cannot be made static because mktime can overwrite it