fix formatarg: pass ll instead of passing off_t as "%lld" parameter

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
This commit is contained in:
Sergei Trofimovich 2009-12-06 17:40:11 +02:00 committed by Slava Zanko
parent 4f2079fec7
commit 981c19b651

View File

@ -216,7 +216,7 @@ mcview_moveto_line_cmd (mcview_t *view)
g_snprintf (prompt, sizeof (prompt),
_(" The current line number is %lld.\n"
" Enter the new line number:"), (line + 1));
" Enter the new line number:"), (long long)(line + 1));
answer = input_dialog (_(" Goto line "), prompt, MC_HISTORY_VIEW_GOTO_LINE, "");
if (answer != NULL && answer[0] != '\0') {
errno = 0;