Updates to fix Watcom C/C++ 11.0 compiler warning problems. Now compiles
clean with this compiler. Hopefully I did this without breaking other compilers. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user