]> git.tdb.fi Git - libs/core.git/blobdiff - source/time/utils.cpp
Throw out anything polling related - they will go to libmspio eventually
[libs/core.git] / source / time / utils.cpp
index 49acd7791180616be36d56f29f0af99a30a55e42..d6b63328a32d32a3519da8f6dd0bd20b093e602e 100644 (file)
@@ -1,5 +1,5 @@
 /*
-This file is part of libmspframework     
+This file is part of libmspcore     
 Copyright © 2006  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
@@ -75,7 +75,7 @@ int sleep(const TimeDelta &d)
        d.fill_timespec(ts);
        return nanosleep(&ts, 0);
 #else
-       Sleep(d/msec);
+       Sleep((DWORD)(d/msec));
        return 0;
 #endif
 }