Don't pass NULL when we really mean to pass 0.

Fixes a warning on MacOS.