Explorar el Código

dmq: use internal wrapper for signed int time

Daniel-Constantin Mierla hace 4 meses
padre
commit
2dd6dcfb0e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/modules/dmq/dmq.c

+ 1 - 1
src/modules/dmq/dmq.c

@@ -277,7 +277,7 @@ static int mod_init(void)
 		return -1;
 	}
 
-	dmq_startup_time = (int)time(NULL);
+	dmq_startup_time = ksr_time_sint(NULL, NULL);
 
 	/**
 	 * add the ping timer