Added casts to remove warnings on IAR compiler.

This commit is contained in:
skarg
2007-06-20 18:27:55 +00:00
parent 34149356a3
commit 9db08e316b
2 changed files with 6 additions and 4 deletions
+3 -1
View File
@@ -428,7 +428,9 @@ void apdu_handler(BACNET_ADDRESS * src, uint8_t * apdu, /* APDU data */
if (service_choice < MAX_BACNET_CONFIRMED_SERVICE) {
if (Error_Function[service_choice])
Error_Function[service_choice] (src,
invoke_id, error_class, error_code);
invoke_id,
(BACNET_ERROR_CLASS)error_class,
(BACNET_ERROR_CODE)error_code);
}
tsm_free_invoke_id(invoke_id);
break;