]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/utilscmn.cpp
streamlining slider, scroller, spinbutton for osx carbon and cocoa
[wxWidgets.git] / src / common / utilscmn.cpp
index 4457a14ebe226995846e65d1339dc7f165302c61..2b6fda7586ba4766c35635b270c309794a82f600 100644 (file)
@@ -182,7 +182,7 @@ wxString wxNow()
     return wxEmptyString;
 #endif
 #else
-    time_t now = time((time_t *) NULL);
+    time_t now = time(NULL);
     char *date = ctime(&now);
     date[24] = '\0';
     return wxString::FromAscii(date);