fixed about 100 warnings
Merge pull request #4276 from illi-kun/warnings

Didn't I already merge these signed/unsigned warning fixes?