cleanup compiler warning ( mostly comparison between signed and unsigned integer expressions )