Krolyxon
Commit 61caa55

Branches

Refs →

nsxiv61caa55

Fix TV_ADD_MSEC macro

Author
Bert Münnich
Date
2011-10-13 16:53 +0200
Parent
4383a65
Commit
61caa5511f6dd6b5df98e1ea5deb25e61b216e19

+2 −2

1 file changed

  1. M util.h +2 −2
M util.h View
@@ -47,8 +47,8 @@
4747 }
4848
4949 #define TV_ADD_MSEC(tv,t) { \
50− (tv)->tv_sec = (t) / 1000; \
51− (tv)->tv_usec = (t) % 1000 * 1000; \
50+ (tv)->tv_sec += (t) / 1000; \
51+ (tv)->tv_usec += (t) % 1000 * 1000; \
5252 }
5353
5454 typedef struct {