Fix some sign comparison warnings.