diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-06-15 18:21:45 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-06-15 18:21:45 -0700 |
commit | aeef6bb54b684846284df8b6883a60e7402a11f3 (patch) | |
tree | c7588b95ef11c4f2613aa843cabbda827b9e06b9 | |
parent | 6c8630a7ff8af9f01fdeb79c99fa360d29b0c293 (diff) | |
download | pw-aeef6bb54b684846284df8b6883a60e7402a11f3.tar.gz pw-aeef6bb54b684846284df8b6883a60e7402a11f3.tar.bz2 pw-aeef6bb54b684846284df8b6883a60e7402a11f3.zip |
Fix printf warning.
-rw-r--r-- | pw.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |