Fix various signedness warnings
This is very simple fixes that should not raise any problem. It is just intended to help for #1735 (closed).
This is very simple fixes that should not raise any problem. It is just intended to help for #1735 (closed).