Fixing compiler warning about signed/unsigned comparisons that were
caused by a macro.