type.c optimisation
[lttv.git] / ltt / branches / poly / ltt / time.h
index f56b0ce041a10c989a38e1290b56300683241fe2..6ab53fcac3039310e11dae5c4593c91dee4be5f9 100644 (file)
@@ -205,7 +205,7 @@ static inline LttTime ltt_time_div(LttTime t1, double d)
 
 static inline guint64 ltt_time_to_uint64(LttTime t1)
 {
-  return (guint64)(t1.tv_sec*LTT_TIME_UINT_SHIFT_CONST) >> LTT_TIME_UINT_SHIFT
+  return (guint64)((t1.tv_sec*LTT_TIME_UINT_SHIFT_CONST) >> LTT_TIME_UINT_SHIFT)
                        + (guint64)t1.tv_nsec;
 }
 
This page took 0.023931 seconds and 4 git commands to generate.