Corrected warnings found by splint.

This commit is contained in:
skarg
2009-04-18 17:54:39 +00:00
parent 9051a80e30
commit c17962107c
20 changed files with 204 additions and 200 deletions
+2 -2
View File
@@ -50,12 +50,12 @@ int ihave_encode_apdu(
apdu_len = 2;
/* deviceIdentifier */
len =
encode_application_object_id(&apdu[apdu_len], data->device_id.type,
encode_application_object_id(&apdu[apdu_len], (int)data->device_id.type,
data->device_id.instance);
apdu_len += len;
/* objectIdentifier */
len =
encode_application_object_id(&apdu[apdu_len], data->object_id.type,
encode_application_object_id(&apdu[apdu_len], (int)data->object_id.type,
data->object_id.instance);
apdu_len += len;
/* objectName */