Ran SPLINT (secure programming LINT) and fixed warnings.

This commit is contained in:
skarg
2009-11-10 03:41:22 +00:00
parent 7ba1625924
commit b95b01772d
8 changed files with 40 additions and 30 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ int rr_decode_service_request(
rrdata->array_index = BACNET_ARRAY_ALL; /* Assuming this is the most common outcome... */
if (len < apdu_len) {
TagLen =
decode_tag_number_and_value(&apdu[len], &tag_number,
(unsigned)decode_tag_number_and_value(&apdu[len], &tag_number,
&len_value_type);
if (tag_number == 2) {
len += TagLen;