Change variable type

from unsigned int to signed int