Fix Clang warning about "comparison of integers of different signs" in assert.