[matroska] r1198 - trunk/libebml/src

[email protected] Fri, 26 Aug 2005 12:18:52 +0400 (MSD)
Newsgroups gmane.comp.multimedia.matroska.cvs
Message-ID <[email protected]>
Author: mosu
Date: 2005-08-26 12:18:50 +0400 (Fri, 26 Aug 2005)
New Revision: 1198

Modified:
   trunk/libebml/src/Debug.cpp
Log:
Make the compiler happy: tv.tv_usec's type does not have to be a long int.

Modified: trunk/libebml/src/Debug.cpp
===================================================================
--- trunk/libebml/src/Debug.cpp	2005-07-21 01:35:56 UTC (rev 1197)
+++ trunk/libebml/src/Debug.cpp	2005-08-26 08:18:50 UTC (rev 1198)
@@ -133,12 +133,12 @@
 			sprintf(myformat,"%04d/%02d/%02d %02d:%02d:%02ld.%03ld UTC : %s\r\n",
 					now->tm_year, now->tm_mon, now->tm_mday,
 					now->tm_hour, now->tm_min, tv.tv_sec,
-					tv.tv_usec / 1000, format);
+					(long)tv.tv_usec / 1000, format);
 		else
 			sprintf(myformat,"%04d/%02d/%02d %02d:%02d:%02ld.%03ld UTC : %s - %s\r\n",
 					now->tm_year, now->tm_mon, now->tm_mday,
 					now->tm_hour, now->tm_min, tv.tv_sec,
-					tv.tv_usec / 1000, prefix, format);
+					(long)tv.tv_usec / 1000, prefix, format);
 		
 	} else {
 		if (prefix[0] == '\0')