Manual fix for PR: Fixes sprintf argument warnings REF: #1029