mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-10-03 23:48:22 +00:00
fixed typecasting
This commit is contained in:
+1
-1
@@ -361,7 +361,7 @@ static void *uwsgi_metrics_loop(void *arg) {
|
||||
metric->last_update = now;
|
||||
}
|
||||
else {
|
||||
if (now - metric->last_update < metric->freq) goto next;
|
||||
if ((uint32_t) (now - metric->last_update) < metric->freq) goto next;
|
||||
}
|
||||
uwsgi_wlock(uwsgi.metrics_lock);
|
||||
int64_t value = *metric->value;
|
||||
|
||||
Reference in New Issue
Block a user