Bug #68: added fix for compiler warning.

Thank you, Michael Francis!
This commit is contained in:
Steve Karg
2019-12-17 15:56:04 -06:00
parent d50c190957
commit bc612221b6
+1 -1
View File
@@ -1426,7 +1426,7 @@ bool bacapp_parse_application_data(BACNET_APPLICATION_TAG tag_number,
}
break;
case BACNET_APPLICATION_TAG_OBJECT_ID:
count = sscanf(argv, "%4d:%7d", &object_type, &instance);
count = sscanf(argv, "%4d:%7u", &object_type, &instance);
if (count == 2) {
value->type.Object_Id.type = (uint16_t)object_type;
value->type.Object_Id.instance = instance;