Fix warning caused by -Wpointer-sign.