Browse Source

Fix TV_ADD_MSEC macro

master
Bert Münnich 13 years ago
parent
commit
61caa5511f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      util.h

+ 2
- 2
util.h View File

@@ -47,8 +47,8 @@
}

#define TV_ADD_MSEC(tv,t) { \
(tv)->tv_sec = (t) / 1000; \
(tv)->tv_usec = (t) % 1000 * 1000; \
(tv)->tv_sec += (t) / 1000; \
(tv)->tv_usec += (t) % 1000 * 1000; \
}

typedef struct {


Loading…
Cancel
Save