Tamp down a warning that appears on 64-bit builds by defining BACNET_ARRAY_ALL as 32 bits' worth of 1s, which is appropriate for its use with all uint32_t fields for propertyArrayIndex, which we now have across the body of code.
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
/* large BACnet Object Type */
|
||||
#define BACNET_MAX_OBJECT (0x3FF)
|
||||
/* Array index 0=size of array, n=array element n, MAX=all array elements */
|
||||
#define BACNET_ARRAY_ALL (~0UL)
|
||||
#define BACNET_ARRAY_ALL 0xFFFFFFFF /* 32-bit MAX, to use with uint32_t */
|
||||
/* Priority Array for commandable objects */
|
||||
#define BACNET_NO_PRIORITY 0
|
||||
#define BACNET_MIN_PRIORITY 1
|
||||
|
||||
Reference in New Issue
Block a user