Only changing the all array to unsigned. Others are used with signed.
This commit is contained in:
@@ -41,10 +41,10 @@
|
|||||||
|
|
||||||
/* largest BACnet Instance Number */
|
/* largest BACnet Instance Number */
|
||||||
/* Also used as a device instance number wildcard address */
|
/* Also used as a device instance number wildcard address */
|
||||||
#define BACNET_MAX_INSTANCE (0x3FFFFFU)
|
#define BACNET_MAX_INSTANCE (0x3FFFFF)
|
||||||
#define BACNET_INSTANCE_BITS 22
|
#define BACNET_INSTANCE_BITS 22
|
||||||
/* large BACnet Object Type */
|
/* 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 */
|
/* Array index 0=size of array, n=array element n, MAX=all array elements */
|
||||||
/* 32-bit MAX, to use with uint32_t */
|
/* 32-bit MAX, to use with uint32_t */
|
||||||
#define BACNET_ARRAY_ALL 0xFFFFFFFFU
|
#define BACNET_ARRAY_ALL 0xFFFFFFFFU
|
||||||
@@ -53,7 +53,7 @@
|
|||||||
#define BACNET_MIN_PRIORITY 1
|
#define BACNET_MIN_PRIORITY 1
|
||||||
#define BACNET_MAX_PRIORITY 16
|
#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
|
/* Any size MAC address should be allowed which is less than or
|
||||||
equal to 7 bytes. The IPv6 addresses are planned to be handled
|
equal to 7 bytes. The IPv6 addresses are planned to be handled
|
||||||
outside this area. */
|
outside this area. */
|
||||||
|
|||||||
Reference in New Issue
Block a user