Fixed 2 unsigned to signed int conversions