Convert the property list values into int32_t to support the larger property values when an int is 8-bit or 16-bit. (#1145)
This commit is contained in:
@@ -23,7 +23,8 @@ static void test_ListElement(void)
|
||||
int application_data_len = 0, test_application_data_len = 0;
|
||||
unsigned i = 0;
|
||||
BACNET_DESTINATION destination[5] = { 0 }, test_destination[5] = { 0 };
|
||||
const int destination_size = sizeof(destination) / sizeof(destination[0]);
|
||||
const int32_t destination_size =
|
||||
sizeof(destination) / sizeof(destination[0]);
|
||||
|
||||
list_element.application_data = NULL;
|
||||
list_element.application_data_len = 0;
|
||||
|
||||
Reference in New Issue
Block a user