summaryrefslogtreecommitdiffstats
path: root/health/health_json.c
diff options
context:
space:
mode:
authorthiagoftsm <thiagoftsm@gmail.com>2022-09-26 13:49:56 +0000
committerGitHub <noreply@github.com>2022-09-26 13:49:56 +0000
commit71cb1ad68707718671ef57c901dfa2041f15bbe6 (patch)
tree71f0cb5819b66a0864e1044678492ea044beed3c /health/health_json.c
parent570a716100f313026c127e9dbf3b9c65e423e3a3 (diff)
Fix warnings during compilation time on ARM (32 bits) (#13681)
Diffstat (limited to 'health/health_json.c')
-rw-r--r--health/health_json.c2
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;