fixed compile warning with a cast
This commit is contained in:
@@ -1131,7 +1131,7 @@ int bacapp_snprintf_value(
|
|||||||
case BACNET_APPLICATION_TAG_ENUMERATED:
|
case BACNET_APPLICATION_TAG_ENUMERATED:
|
||||||
switch (property) {
|
switch (property) {
|
||||||
case PROP_PROPERTY_LIST:
|
case PROP_PROPERTY_LIST:
|
||||||
char_str = bactext_property_name_default(
|
char_str = (char *) bactext_property_name_default(
|
||||||
value->type.Enumerated, NULL);
|
value->type.Enumerated, NULL);
|
||||||
if (char_str) {
|
if (char_str) {
|
||||||
ret_val = snprintf(str, str_len, "%s", char_str);
|
ret_val = snprintf(str, str_len, "%s", char_str);
|
||||||
|
|||||||
Reference in New Issue
Block a user