Get rid of some harmless compiler warnings with the PDF code