/*
-This file is part of libmspframework
+This file is part of libmspcore
Copyright © 2006 Mikko Rasa, Mikkosoft Productions
Distributed under the LGPL
*/
d.fill_timespec(ts);
return nanosleep(&ts, 0);
#else
- Sleep(d/msec);
+ Sleep((DWORD)(d/msec));
return 0;
#endif
}