diff options
author | Jeremy Allison <jra@samba.org> | 2009-09-17 11:08:42 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-09-17 11:11:06 -0700 |
commit | 95311a220e7107ec8b3012d67d5efef57313a274 (patch) | |
tree | 0b355c3741ffdd906aff4e53c277d20e43fb1d9a /librpc/gen_ndr/ndr_schannel.c | |
parent | c2055de162b154efb1aef0d2977f860a01ffdbbc (diff) | |
download | samba-95311a220e7107ec8b3012d67d5efef57313a274.tar.gz samba-95311a220e7107ec8b3012d67d5efef57313a274.tar.bz2 samba-95311a220e7107ec8b3012d67d5efef57313a274.zip |
Fix the problem with pidl generating invalid C for enums. According
to the C standard an enum is guarenteed to be an (int), which means
for 4 byte ints specifying a type of 0x80000000 is an invalid value.
The Solaris compiler complains about this. Fix by adding an (int)
cast in front of the value generation.
Jeremy.
Diffstat (limited to 'librpc/gen_ndr/ndr_schannel.c')
0 files changed, 0 insertions, 0 deletions