]> git.saurik.com Git - wxWidgets.git/commitdiff
another attempt to fix signed/unsigned comparison warning in OS X build
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 3 Jul 2009 17:51:56 +0000 (17:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 3 Jul 2009 17:51:56 +0000 (17:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/screenshotgen/src/autocapture.cpp

index aac2262fbea87194c2b4afa72193c1e512e5dbde..ba3ec7bdd876ccc4c118a5cb440fcbfba1756421 100644 (file)
@@ -61,7 +61,7 @@ void AutoCaptureMechanism::Delay(int seconds)
 
     // Wait for 3 seconds
     clock_t start = clock();
-    while ( (long)clock() - start < CLOCKS_PER_SEC * seconds)
+    while ( clock() - start < (clock_t)CLOCKS_PER_SEC * seconds)
         wxYieldIfNeeded();
 }