aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index aac28a8..96ebf9e 100644
--- a/config.def.h
+++ b/config.def.h
@@ -79,7 +79,7 @@ static void statusbar(EditorWin *win) {
text_modified(win->text) ? "[+]" : "",
vis->recording ? "recording": "");
char buf[win->width + 1];
- int len = snprintf(buf, win->width, "%d, %d", line, col);
+ int len = snprintf(buf, win->width, "%zd, %zd", line, col);
if (len > 0) {
buf[len] = '\0';
mvwaddstr(win->statuswin, 0, win->width - len - 1, buf);