summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-09-17 11:08:42 -0700
committerJeremy Allison <jra@samba.org>2009-09-17 11:11:06 -0700
commit95311a220e7107ec8b3012d67d5efef57313a274 (patch)
tree0b355c3741ffdd906aff4e53c277d20e43fb1d9a /librpc
parentc2055de162b154efb1aef0d2977f860a01ffdbbc (diff)
downloadsamba-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')
0 files changed, 0 insertions, 0 deletions