Fix incompatible pointer type warning

Well, needless to say I'm very happy this didn't end up exploding.  I'm
surprised GCC and clang let this through.