Quiet warning about assigning NULL to an int