Fixed 32-bit compiler bug