From fa0d935bc6ea3233bccc061419da93171662fd99 Mon Sep 17 00:00:00 2001 From: skarg Date: Fri, 12 Oct 2007 01:33:54 +0000 Subject: [PATCH] Added cast to eliminate compiler warning. --- bacnet-stack/src/cov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacnet-stack/src/cov.c b/bacnet-stack/src/cov.c index 97c26a4f..82a1829a 100644 --- a/bacnet-stack/src/cov.c +++ b/bacnet-stack/src/cov.c @@ -367,7 +367,7 @@ int cov_subscribe_decode_service_request(uint8_t * apdu, } else return -1; /* optional parameters - if missing, means cancellation */ - if (len < apdu_len) { + if ((unsigned)len < apdu_len) { /* tag 2 - issueConfirmedNotifications - optional */ if (decode_is_context_tag(&apdu[len], 2)) { data->cancellationRequest = false;