Commit 0a440eb3 authored by Pietro Fezzardi's avatar Pietro Fezzardi

proto-standard/arith.c: used PP_NSEC_PER_SEC

instead of bare numbers
parent d757678a
......@@ -106,7 +106,7 @@ void sub_TimeInternal(TimeInternal *r, TimeInternal *x, TimeInternal *y)
void div2_TimeInternal(TimeInternal *r)
{
r->nanoseconds += r->seconds % 2 * 1000000000;
r->nanoseconds += r->seconds % 2 * PP_NSEC_PER_SEC;
r->seconds /= 2;
r->nanoseconds /= 2;
......
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