fixed some printf type-mismatch and ppport.h macro redefinition warnings
Authored by: mukau 2020-05-05
Parent: [r1476]
Child: [r1478]