Fixed #4948 (check printf %l and %ll arguments for long and long long)