diff options
author | Hagen Fritsch <fritsch+git@in.tum.de> | 2013-02-27 19:41:30 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-02-27 19:45:31 +0100 |
commit | 2cf31e905b445fe4dbcea5fc194b69dcb46c3210 (patch) | |
tree | 1fc02761c99eac2a178efb42b37448acfe3052a2 /src/clock.c | |
parent | 28a60db5aa4c368e221595444b76c66ba1fe6960 (diff) | |
download | mpd-2cf31e905b445fe4dbcea5fc194b69dcb46c3210.tar.gz mpd-2cf31e905b445fe4dbcea5fc194b69dcb46c3210.tar.xz mpd-2cf31e905b445fe4dbcea5fc194b69dcb46c3210.zip |
clock: fix usec-to-usec factor
Diffstat (limited to 'src/clock.c')
-rw-r--r-- | src/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clock.c b/src/clock.c index dcdf685ab..d987aed48 100644 --- a/src/clock.c +++ b/src/clock.c @@ -92,7 +92,7 @@ monotonic_clock_us(void) /* we have no monotonic clock, fall back to gettimeofday() */ struct timeval tv; gettimeofday(&tv, 0); - return (uint64_t)tv.tv_sec * 1000 + (uint64_t)(tv.tv_usec) / 1000(; + return (uint64_t)tv.tv_sec * 1000 + (uint64_t)tv.tv_usec; #endif } |