X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/99646f7ee4afb3d7d929e1d396e56de8c1aed622..29d83fc1e5d41ef6adb7984127ce5dc013b09815:/src/common/timercmn.cpp 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