Fixed a signed int error