Silence a few -Wsign-compare warnings.

Please don't use fixed-size integers unless there's a reason to. In this case, I guess `unsigned` should be sufficient.