typesafe: fix warnings with gcc's -Wpointer-arith
In particular, avoid doing arithmetic on NULL; decay the function to a pointer using a trinary conditional instead.
Showing
Please register or sign in to comment
In particular, avoid doing arithmetic on NULL; decay the function to a pointer using a trinary conditional instead.