pidl: don't warn for compatible scalar types in unions
commitdfbaf79a1b7455a0eef61813e07cb661cf17e995
authorAndrew Tridgell <tridge@samba.org>
Mon, 12 Oct 2009 23:03:27 +0000 (13 10:03 +1100)
committerAndrew Tridgell <tridge@samba.org>
Mon, 12 Oct 2009 23:03:27 +0000 (13 10:03 +1100)
tree04f726cc4e888f8a6591d036274fd82d6b568db0
parent3ecfd06d64cf91098ec33c33a003d7f5b5c1b71d
pidl: don't warn for compatible scalar types in unions

When we have an enum that is used as a union discriminator, what
matters is that the scalar mappings are the same, not if the types are
the same (otherwise we get warnings about uint1632).

Thanks to gd for noticing this.
pidl/lib/Parse/Pidl/NDR.pm