Explicit cast needed under Minix to disambiguate a call to Builder.getInt32()

Hi,

The attached patch adds a cast to uint32_t to a call to Builder.getInt32(). Without it gcc refuses to compile this code, complaining that it can't choose between two possible Builder.getInt32() methods.

I submit this to the cfe-dev mailing list rather than the cfe-commits mailing list since I suspect that this particular fix is considered too ugly, and should be replaced with something more elegant. Unfortunately I don't know enough about clang to know what this elegant solution should be.

minix-uint.diff (652 Bytes)

This should be fixed in r108462, thanks!

-Chris