Fixes sprintf argument warnings

same situation in version 1.5.4, 1.5.4.1, 1.5.5.1 and 1.5.6