From c59ec17dddfa98f44baf6a3195b6ebf5cad8f016 Mon Sep 17 00:00:00 2001 From: Tim Prouty Date: Thu, 15 Jan 2009 10:57:00 -0800 Subject: 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 --- librpc/idl/eventlog.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'librpc/idl') 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; -- cgit