aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHagen Fritsch <fritsch+git@in.tum.de>2013-02-27 19:41:30 +0100
committerMax Kellermann <max@duempel.org>2013-02-27 19:45:31 +0100
commit2cf31e905b445fe4dbcea5fc194b69dcb46c3210 (patch)
tree1fc02761c99eac2a178efb42b37448acfe3052a2 /src
parent28a60db5aa4c368e221595444b76c66ba1fe6960 (diff)
downloadmpd-2cf31e905b445fe4dbcea5fc194b69dcb46c3210.tar.gz
mpd-2cf31e905b445fe4dbcea5fc194b69dcb46c3210.tar.xz
mpd-2cf31e905b445fe4dbcea5fc194b69dcb46c3210.zip
clock: fix usec-to-usec factor
Diffstat (limited to 'src')
-rw-r--r--src/clock.c2
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
}