diff options
author | thiagoftsm <thiagoftsm@gmail.com> | 2022-09-26 13:49:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-26 13:49:56 +0000 |
commit | 71cb1ad68707718671ef57c901dfa2041f15bbe6 (patch) | |
tree | 71f0cb5819b66a0864e1044678492ea044beed3c /health | |
parent | 570a716100f313026c127e9dbf3b9c65e423e3a3 (diff) |
Fix warnings during compilation time on ARM (32 bits) (#13681)
Diffstat (limited to 'health')
-rw-r--r-- | health/health_json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/health/health_json.c b/health/health_json.c index 793c85c46f..e9ef13428b 100644 --- a/health/health_json.c +++ b/health/health_json.c @@ -402,7 +402,7 @@ static int have_recent_alarm(RRDHOST *host, uint32_t alarm_id, time_t mark) ALARM_ENTRY *ae = host->health_log.alarms; while(ae) { - if (ae->alarm_id == alarm_id && ae->unique_id > mark && + if (ae->alarm_id == alarm_id && ae->unique_id > (unsigned int) mark && (ae->new_status != RRDCALC_STATUS_WARNING && ae->new_status != RRDCALC_STATUS_CRITICAL)) return 1; ae = ae->next; |