Fix GCC warning (signed/unsigned mismatch).