Adjust the types of a few variables where it makes sense, mostly in regard to comparisons between signed and unsigned integers.
Adjust the types of a few variables where it makes sense, mostly in regard to comparisons between signed and unsigned integers.

pranomostro/ratox,cmotc/ratox,pranomostro/ratox,cmotc/ratox