Fixed unsigned int warning