Use uint64_t for uptime in millis, not int64_t

This commit is contained in:
Sergey Lyubka committed 2022-04-07 13:50:25 +01:00
1 parent 2f77855ec1
commit a1ec179229
11 files changed
+45 -46

No files matched your search

+1 -1
View File
@@ -532,7 +532,7 @@ static void connect_conn(struct mg_connection *c) {
void mg_mgr_poll(struct mg_mgr *mgr, int ms) {
struct mg_connection *c, *tmp;
int64_t now;
uint64_t now;
mg_iotest(mgr, ms);
now = mg_millis();