summaryrefslogtreecommitdiff
path: root/libavformat/os_support.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-12-06 23:46:11 +0000
committerMåns Rullgård <mans@mansr.com>2006-12-06 23:46:11 +0000
commit8da9266ceaeb233a757d5ad8772bdf93601eec33 (patch)
treea549b588fbd30273b27aa1f7a4857f010f36a323 /libavformat/os_support.c
parentcd107896911a1a2359b29f8041458a192631292f (diff)
use the standard INT64_C() macro for 64-bit constants
Originally committed as revision 7240 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/os_support.c')
-rw-r--r--libavformat/os_support.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/os_support.c b/libavformat/os_support.c
index a66c867f08..5d50e75b68 100644
--- a/libavformat/os_support.c
+++ b/libavformat/os_support.c
@@ -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);