pidl: Add max property to be used instead of range for unsigned types.
authorTim Prouty <tprouty@samba.org>
Thu, 15 Jan 2009 18:51:57 +0000 (10:51 -0800)
committerTim Prouty <tprouty@samba.org>
Thu, 15 Jan 2009 22:52:35 +0000 (14:52 -0800)
commit7c861cac534801dd7938f07eeccd3680c84d3f30
treebc976ce4a0578496254f274e2eaf5e9fac46c3f6
parent3913d0a20547ad9c93255fdbc4fdf6629aa226b9
pidl: Add max property to be used instead of range for unsigned types.

Compilers complain about ranges starting at 0 for unsigned types,
since an unsigned type is never less than 0.  The max property
implicitly makes 0 the lower bound when used with unsigned types.
pidl/lib/Parse/Pidl/Compat.pm
pidl/lib/Parse/Pidl/NDR.pm
pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm