Used cast to fix compiler warning.

This commit is contained in:
skarg
2012-03-22 18:39:59 +00:00
parent a8280dda95
commit 400fa8e3c3
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -63,7 +63,8 @@ BACNET_ABORT_REASON abort_convert_error_code(
abort_code = ABORT_REASON_SEGMENTATION_NOT_SUPPORTED;
break;
case ERROR_CODE_ABORT_PROPRIETARY:
abort_code = FIRST_PROPRIETARY_ABORT_REASON;
abort_code =
(BACNET_ABORT_REASON)FIRST_PROPRIETARY_ABORT_REASON;
break;
case ERROR_CODE_ABORT_OTHER:
default: