Fix a few signed unsigned mismatches