Fix signed/unsigned warning in debug mode.