Use correct format specifier to avoid compiler warnings

Warnings when compiled with -Werror