fixed the wrong format strings for int (enum'ed) variables.

%zd ->
%d