Keppalive issue

There is no keepalive packget if current time is very large. Caused by integer overflow.
This commit is contained in:
JasonJiaJie
2018-02-26 16:06:42 +08:00
parent dd6969098d
commit 8c34c8df68
3 changed files with 6 additions and 6 deletions

View File

@@ -27,5 +27,5 @@
char *platform_create_id_string();
int platform_random(int max);
int platform_tick_get_ms();
long long platform_tick_get_ms();
#endif