Fix an unsigned vs. signed warning on some compiler.