Commit 50f5016a authored by Erik de Castro Lopo's avatar Erik de Castro Lopo Committed by Simon Marlow
Browse files

Add cast to placate gcc 4.6 on linux-powerpc (#7113).

parent 415598b2
......@@ -45,7 +45,7 @@
#if SIZEOF_VOID_P == 4
#define LowResTimeToTime(t) (USToTime((t) * 1000))
#define TimeToLowResTimeRoundDown(t) (TimeToUS(t) / 1000)
#define TimeToLowResTimeRoundDown(t) ((LowResTime)(TimeToUS(t) / 1000))
#define TimeToLowResTimeRoundUp(t) ((TimeToUS(t) + 1000-1) / 1000)
#else
#define LowResTimeToTime(t) (t)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment