aboutsummaryrefslogtreecommitdiff
path: root/toys
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2020-02-03 11:36:31 -0800
committerRob Landley <rob@landley.net>2020-02-03 21:22:54 -0600
commit7bf827d37a246a533d93dac8e17a7450c6267354 (patch)
treef7a0051365431bfff57f8fe5dd2ba181b9e4a7bc /toys
parent055f07aab7bbf56c9ecd0ef404e38726bb5c2d2d (diff)
downloadtoybox-7bf827d37a246a533d93dac8e17a7450c6267354.tar.gz
vi: fix 32-bit build.
Diffstat (limited to 'toys')
-rw-r--r--toys/pending/vi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pending/vi.c b/toys/pending/vi.c
index 551184c0..5086a0da 100644
--- a/toys/pending/vi.c
+++ b/toys/pending/vi.c
@@ -1472,7 +1472,7 @@ static void draw_page()
if (TT.vi_mode == 2) printf("\x1b[1m-- INSERT --\x1b[m");
if (!TT.vi_mode) printf("\x1b[1m%s \x1b[m",TT.il->data);
- sprintf(toybuf, "%ld / %ld,%d,%d", TT.cursor, TT.filesize,
+ sprintf(toybuf, "%zu / %zu,%d,%d", TT.cursor, TT.filesize,
TT.cur_row+1, TT.cur_col+1);
if (TT.cur_col != cx_scr) sprintf(toybuf+strlen(toybuf),"-%d", cx_scr+1);