gallium/os: Fix nano->micro second concersion.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Sat, 8 Dec 2012 11:15:46 +0000 (11:15 +0000)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Sat, 8 Dec 2012 11:15:46 +0000 (11:15 +0000)
copy'n'paste: best friend, worst enemy..

Trivial.

src/gallium/auxiliary/os/os_time.h

index 517de9b04746c1d6ed8b03f7d4fe0f4eb91f4fe3..4fab03cc6712134712094d9a1e758a818a9490a7 100644 (file)
@@ -62,7 +62,7 @@ os_time_get_nano(void);
  */
 static INLINE int64_t
 os_time_get(void) {
-    return os_time_get_nano() * 1000;
+    return os_time_get_nano() / 1000;
 }