Use a real bool instead of BOOLEAN in the dprintf() code.