Avoid a warning from g++ 4.3.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 25 Jan 2008 12:44:45 +0000 (12:44 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 25 Jan 2008 12:44:45 +0000 (12:44 +0000)
git-svn-id: http://svn.voria.com/code@1465 1f10aa63-cdf2-0310-b900-c93c546f37ac

ETL/trunk/ETL/_clock_base.h

index 8f180f5..32d8742 100644 (file)
@@ -99,7 +99,8 @@ public:
                        value_type val;
                        for(val=timer();one_second()<length-val;val=timer())
                                ::sleep((int)((length-val)/2.0+0.4));
-                       while(timer()<length);
+                       while(timer()<length)
+                         ;
                }