another signed-ness warning fix for newer GCC