OS X compilation fixes
I tried compiling bandicoot on a Macbook, but what I found was that uword
was not the same type as either u32
or u64
. This happens because we typedef unsigned int
as u32
, and unsigned long long
as u64
, but uword
is actually unsigned long
. So, it's an entirely different type. (This happens for sword
in the same way.)
So, I patched around it to allow this situation and ensure that uword
and sword
are supported types, regardless of whether or not they are the same types as u32
or u64
, or s32
or s64
. The code does assume that uword
and sword
are either 32 or 64 bits, which I think is a reasonable assumption.