X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Ftime.h;h=33feff2824f39034f540c88f90924949bb3ae5d6;hb=42db9bf1304093e067a7f0984cfbc202ac12cde0;hp=483e2e58a5bf3a8d21fb8c9572506ad55173d36b;hpb=bbf28e50b1616b54870a4a711e7aa7a98663d378;p=lttv.git diff --git a/ltt/branches/poly/ltt/time.h b/ltt/branches/poly/ltt/time.h index 483e2e58..33feff28 100644 --- a/ltt/branches/poly/ltt/time.h +++ b/ltt/branches/poly/ltt/time.h @@ -115,9 +115,9 @@ static inline double ltt_time_to_double(LttTime t1) if(t1.tv_sec > MAX_TV_SEC_TO_DOUBLE) g_warning("Precision loss in conversion LttTime to double"); #endif //EXTRA_CHECK - return ((double)((guint64)t1.tv_sec<> DOUBLE_SHIFT; - res.tv_nsec = (t1 - (((guint64)res.tv_sec<