Enable sign comparision warning

Clean up coding style