Avoid a warning from g++ 4.3.
[synfig.git] / ETL / trunk / ETL / _clock_base.h
index 863fc72..32d8742 100644 (file)
@@ -1,7 +1,7 @@
 /*! ========================================================================
 ** Extended Template and Library
 ** Clock Abstraction Implementation
-** $Id: _clock_base.h,v 1.1.1.1 2005/01/04 01:31:46 darco Exp $
+** $Id$
 **
 ** Copyright (c) 2002 Robert B. Quattlebaum Jr.
 **
@@ -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)
+                         ;
                }
 
 
@@ -110,7 +111,7 @@ public:
                ** few microseconds faster, but a few tests on my
                ** PowerBook G4 have proved otherwise. Indeed I loose
                ** several microseconds using this "optimized" method.
-               ** Bizzare.
+               ** Bizarre.
                **      - darco (8-17-2002)
                {
                        timestamp endtime=get_current_time()+seconds_to_timestamp(length);