Fixed unsigned int to size comparisons in all files