mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-01 00:54:24 +03:00
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:
parent
4f2079fec7
commit
981c19b651
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user