Fix issues reported by SonarQube
%d in format string requires 'int *'
Fixed.
Uninitialized variable: p
Should be fixed.
%d in format string requires 'int *'
Fixed.
Uninitialized variable: p
Should be fixed.
This will create a new commit in order to revert the existing changes.