Commit 54121fff authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Fix a #define

I don't think it was causing any problems, but
would have evaluated to
    x + (y / 1000)
parent e0383e29
......@@ -166,7 +166,7 @@ typedef StgInt64 Time;
#if TIME_RESOLUTION == 1000000000
// I'm being lazy, but it's awkward to define fully general versions of these
#define TimeToUS(t) (t / 1000)
#define TimeToUS(t) ((t) / 1000)
#define TimeToNS(t) (t)
#define USToTime(t) ((Time)(t) * 1000)
#define NSToTime(t) ((Time)(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