[xiph-commits] r3089 - liboggplay/trunk/src/liboggplay
tahn at svn.annodex.net
tahn at svn.annodex.net
Tue Jun 26 23:41:23 PDT 2007
Author: tahn
Date: 2007-06-26 23:41:23 -0700 (Tue, 26 Jun 2007)
New Revision: 3089
Modified:
liboggplay/trunk/src/liboggplay/oggplay.c
Log:
Use int64 in oggplay_millisleep to allow larger sleep values.
Modified: liboggplay/trunk/src/liboggplay/oggplay.c
===================================================================
--- liboggplay/trunk/src/liboggplay/oggplay.c 2007-06-27 05:58:31 UTC (rev 3088)
+++ liboggplay/trunk/src/liboggplay/oggplay.c 2007-06-27 06:41:23 UTC (rev 3089)
@@ -589,7 +589,7 @@
#ifdef WIN32
Sleep(ms);
#else
- struct timespec ts = {0, ms * 1000000};
+ struct timespec ts = {0, (ogg_int64_t)ms * 1000000LL};
nanosleep(&ts, NULL);
#endif
}
More information about the commits
mailing list