hopefully fix uint -> ulong pointer/integer conflation