diff options
author | Filippo Della Betta <filippo.dellabetta@telecomitalia.it> | 2012-02-17 11:49:26 +0100 |
---|---|---|
committer | Youness Alaoui <youness.alaoui@collabora.co.uk> | 2012-02-17 18:46:38 -0500 |
commit | 0cdef497a3d9d99506029d470365179386a8835a (patch) | |
tree | f8f157765fce6392fab3831d513cd23acfb9fa81 /stun/usages | |
parent | 090a8aa15860a5417b4de4e3b4db145cea76e734 (diff) | |
download | libnice-0cdef497a3d9d99506029d470365179386a8835a.tar.gz |
Fixed warnings on Visual Studio platform
Diffstat (limited to 'stun/usages')
-rw-r--r-- | stun/usages/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stun/usages/timer.c b/stun/usages/timer.c index e5e70e6..ce711c2 100644 --- a/stun/usages/timer.c +++ b/stun/usages/timer.c @@ -69,7 +69,7 @@ static void stun_gettime (struct timeval *now) *time64 -= (unsigned long long) 116444736000000000; *time64 /= 10; - now->tv_sec = *time64 / 1000000; + now->tv_sec = (long)(*time64 / 1000000); now->tv_usec = *time64 % 1000000; #else #if defined (_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK >= 0) |