fixed compile warning with a cast

This commit is contained in:
skarg
2013-11-19 04:49:44 +00:00
parent 8c20db621e
commit b8267024d7
+1 -1
View File
@@ -1131,7 +1131,7 @@ int bacapp_snprintf_value(
case BACNET_APPLICATION_TAG_ENUMERATED:
switch (property) {
case PROP_PROPERTY_LIST:
char_str = bactext_property_name_default(
char_str = (char *) bactext_property_name_default(
value->type.Enumerated, NULL);
if (char_str) {
ret_val = snprintf(str, str_len, "%s", char_str);