GCC 4.6: Fixed signed/unsigned comparison warnings.