Merge "fix a sign-compare warning and use -Wall"