Shouldn't it be unsigned int?