Explorar el Código

Fix TV_ADD_MSEC macro

master
Bert Münnich hace 13 años
padre
commit
61caa5511f
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      util.h

+ 2
- 2
util.h Ver fichero

@@ -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 {


Cargando…
Cancelar
Guardar