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:
tbrennan3
2011-10-20 15:36:02 +00:00
parent 85e232ce0d
commit 3525f6b9ec
+1 -1
View File
@@ -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