librpc: Remove usage of max and replace with improved range.
authorTim Prouty <tprouty@samba.org>
Sat, 17 Jan 2009 22:42:20 +0000 (14:42 -0800)
committerTim Prouty <tprouty@samba.org>
Sun, 18 Jan 2009 03:38:20 +0000 (19:38 -0800)
librpc/idl/eventlog.idl

index fbdec28be734b83b58a679765a15a30f885b73fd..51b3ea706e32207deedc6756ede369cd1cff1400 100644 (file)
@@ -40,7 +40,7 @@ import "lsa.idl", "security.idl";
                time_t time_written;
                uint32 event_id;
                eventlogEventTypes event_type;
-               [max(256)] uint16 num_of_strings;
+               [range(0,256)] uint16 num_of_strings;
                uint16 event_category;
                uint16 reserved_flags;
                uint32 closing_record_number;