other: fix warnings that can be muted with -Wpointer-sign