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
@@ -8,7 +8,7 @@ void mg_random(void *buf, size_t len);
uint16_t mg_ntohs(uint16_t net);
uint32_t mg_ntohl(uint32_t net);
uint32_t mg_crc32(uint32_t crc, const char *buf, size_t len);
int64_t mg_millis(void);
uint64_t mg_millis(void);
#define mg_htons(x) mg_ntohs(x)
#define mg_htonl(x) mg_ntohl(x)