summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-01-15 10:57:00 -0800
committerTim Prouty <tprouty@samba.org>2009-01-15 14:52:35 -0800
commitc59ec17dddfa98f44baf6a3195b6ebf5cad8f016 (patch)
tree08e5767d8d2650e0f628c245aec2f43dbbbfcaf7
parent7c861cac534801dd7938f07eeccd3680c84d3f30 (diff)
downloadsamba-c59ec17dddfa98f44baf6a3195b6ebf5cad8f016.tar.gz
samba-c59ec17dddfa98f44baf6a3195b6ebf5cad8f016.tar.bz2
samba-c59ec17dddfa98f44baf6a3195b6ebf5cad8f016.zip
librpc: Change a uint16 to use the max property instead of range
This fixes a "comparison is always false due to limited range of data type" warning
-rw-r--r--librpc/idl/eventlog.idl2
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/idl/eventlog.idl b/librpc/idl/eventlog.idl
index 51b3ea706e..fbdec28be7 100644
--- a/librpc/idl/eventlog.idl
+++ b/librpc/idl/eventlog.idl
@@ -40,7 +40,7 @@ import "lsa.idl", "security.idl";
time_t time_written;
uint32 event_id;
eventlogEventTypes event_type;
- [range(0,256)] uint16 num_of_strings;
+ [max(256)] uint16 num_of_strings;
uint16 event_category;
uint16 reserved_flags;
uint32 closing_record_number;