From aeef6bb54b684846284df8b6883a60e7402a11f3 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 15 Jun 2022 18:21:45 -0700 Subject: Fix printf warning. --- pw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pw.c b/pw.c index ff4b352..549ab50 100644 --- a/pw.c +++ b/pw.c @@ -615,7 +615,7 @@ static void drawstatus(pwstate *pw) if (pw->curcmd[pw->editpos] != 0) { putchar('\r'); if (pw->editpos > 0) - printf("\033[%dC", pw->editpos); + printf("\033[%dC", (int) pw->editpos); } } fflush(stdout); -- cgit v1.2.3