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
This commit is contained in:
Vadim Zeitlin 2009-07-03 17:51:56 +00:00
parent 62c4453a41
commit 058506f3e9

View File

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