Remove compiler warnings - 04.

Changed to fix few compiler warnings about signed unsigned integer
comparison.
Remove compiler warnings - 05.

Changed to fix few compiler warnings about signed and unsigned
integer comparison.
Remove compiler warnings - 06.

Changed to fix few compiler warnings about signed unsigned integer
comparison.
Remove compiler warnings - 07.

Changed to fix compiler warnings about signed unsigned integer
comparison.
Remove compiler warnings - 08.

Changed data types to fix compiler warnings about argument type
mismatch.
Remove compiler warnings - 09.

Changed to fix compiler warnings about signed unsigned integer
comparison.