Fix minor gcc warnings.

C++ style comments not allowed in C90,
signed unsigned comparision.