From 058506f3e9be71f52a4571b346f0998f405adf08 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 3 Jul 2009 17:51:56 +0000 Subject: [PATCH] another attempt to fix signed/unsigned comparison warning in OS X build git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- utils/screenshotgen/src/autocapture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/screenshotgen/src/autocapture.cpp b/utils/screenshotgen/src/autocapture.cpp index aac2262fbe..ba3ec7bdd8 100644 --- a/utils/screenshotgen/src/autocapture.cpp +++ b/utils/screenshotgen/src/autocapture.cpp @@ -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(); }