Only changing the all array to unsigned. Others are used with signed.

This commit is contained in:
skarg
2012-05-22 20:56:37 +00:00
parent 99396c4f78
commit 8482b18ffa
+3 -3
View File
@@ -41,10 +41,10 @@
/* largest BACnet Instance Number */
/* Also used as a device instance number wildcard address */
#define BACNET_MAX_INSTANCE (0x3FFFFFU)
#define BACNET_MAX_INSTANCE (0x3FFFFF)
#define BACNET_INSTANCE_BITS 22
/* large BACnet Object Type */
#define BACNET_MAX_OBJECT (0x3FFU)
#define BACNET_MAX_OBJECT (0x3FF)
/* Array index 0=size of array, n=array element n, MAX=all array elements */
/* 32-bit MAX, to use with uint32_t */
#define BACNET_ARRAY_ALL 0xFFFFFFFFU
@@ -53,7 +53,7 @@
#define BACNET_MIN_PRIORITY 1
#define BACNET_MAX_PRIORITY 16
#define BACNET_BROADCAST_NETWORK (0xFFFFU)
#define BACNET_BROADCAST_NETWORK (0xFFFF)
/* Any size MAC address should be allowed which is less than or
equal to 7 bytes. The IPv6 addresses are planned to be handled
outside this area. */