Mercurial > libavformat.hg
diff os_support.c @ 1556:65b7b3ff4ed7 libavformat
use the standard INT64_C() macro for 64-bit constants
| author | mru |
|---|---|
| date | Wed, 06 Dec 2006 23:46:11 +0000 |
| parents | 6d9dd5b5e764 |
| children | 20c8dfd3ee84 |
line wrap: on
line diff
--- a/os_support.c Wed Dec 06 17:17:33 2006 +0000 +++ b/os_support.c Wed Dec 06 23:46:11 2006 +0000 @@ -42,11 +42,11 @@ int64_t av_gettime(void) { #if defined(CONFIG_WINCE) - return timeGetTime() * int64_t_C(1000); + return timeGetTime() * INT64_C(1000); #elif defined(__MINGW32__) struct timeb tb; _ftime(&tb); - return ((int64_t)tb.time * int64_t_C(1000) + (int64_t)tb.millitm) * int64_t_C(1000); + return ((int64_t)tb.time * INT64_C(1000) + (int64_t)tb.millitm) * INT64_C(1000); #else struct timeval tv; gettimeofday(&tv,NULL);
