From 981c19b65174326d56a6df34de5acc33763512e5 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 6 Dec 2009 17:40:11 +0200 Subject: [PATCH] fix formatarg: pass ll instead of passing off_t as "%lld" parameter Signed-off-by: Sergei Trofimovich --- src/viewer/actions_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viewer/actions_cmd.c b/src/viewer/actions_cmd.c index aaa20ffb8..7000c38eb 100644 --- a/src/viewer/actions_cmd.c +++ b/src/viewer/actions_cmd.c @@ -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;