Fixing some sign comparison warnings.