summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-01-08 22:06:14 +0100
committerBram Moolenaar <Bram@vim.org>2020-01-08 22:06:14 +0100
commitb16ad968499aeb29b6ff9be6cc64fb41522a4a5e (patch)
treee39115834188725e59d28fa612e84016f0882bcd /src
parentc838626fea42ed5924ee6084d87d1b37b2d7b0ff (diff)
downloadvim-git-b16ad968499aeb29b6ff9be6cc64fb41522a4a5e.tar.gz
patch 8.2.0106: printf formats are not exactly rightv8.2.0106
Problem: Printf formats are not exactly right. Solution: Adjust signed/unsigned conversions. (Frazer Clews, closes #5456)
Diffstat (limited to 'src')
-rw-r--r--src/libvterm/src/parser.c2
-rw-r--r--src/libvterm/src/pen.c2
-rw-r--r--src/ui.c6
-rw-r--r--src/version.c2
4 files changed, 7 insertions, 5 deletions
diff --git a/src/libvterm/src/parser.c b/src/libvterm/src/parser.c
index 7d6d2175d..8a06c427b 100644
--- a/src/libvterm/src/parser.c
+++ b/src/libvterm/src/parser.c
@@ -65,7 +65,7 @@ static void append_strbuffer(VTerm *vt, const char *str, size_t len)
{
if(len > vt->parser.strbuffer_len - vt->parser.strbuffer_cur) {
len = vt->parser.strbuffer_len - vt->parser.strbuffer_cur;
- DEBUG_LOG1("Truncating strbuffer preserve to %zd bytes\n", len);
+ DEBUG_LOG1("Truncating strbuffer preserve to %zu bytes\n", len);
}
if(len > 0) {
diff --git a/src/libvterm/src/pen.c b/src/libvterm/src/pen.c
index c55f6931f..d34599da1 100644
--- a/src/libvterm/src/pen.c
+++ b/src/libvterm/src/pen.c
@@ -387,7 +387,7 @@ INTERNAL void vterm_state_setpen(VTermState *state, const long args[], int argco
if (!done)
{
- DEBUG_LOG1("libvterm: Unhandled CSI SGR %lu\n", arg);
+ DEBUG_LOG1("libvterm: Unhandled CSI SGR %ld\n", arg);
}
while (CSI_ARG_HAS_MORE(args[argi++]))
diff --git a/src/ui.c b/src/ui.c
index f4f7bcf83..151857f6f 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -1168,7 +1168,7 @@ clip_start_selection(int col, int row, int repeated_click)
cb->prev = cb->start;
#ifdef DEBUG_SELECTION
- printf("Selection started at (%u,%u)\n", cb->start.lnum, cb->start.col);
+ printf("Selection started at (%ld,%d)\n", cb->start.lnum, cb->start.col);
#endif
}
@@ -1203,7 +1203,7 @@ clip_process_selection(
}
#ifdef DEBUG_SELECTION
- printf("Selection ended: (%u,%u) to (%u,%u)\n", cb->start.lnum,
+ printf("Selection ended: (%ld,%d) to (%ld,%d)\n", cb->start.lnum,
cb->start.col, cb->end.lnum, cb->end.col);
#endif
if (clip_isautosel_star()
@@ -1347,7 +1347,7 @@ clip_process_selection(
cb->prev.col = col;
#ifdef DEBUG_SELECTION
- printf("Selection is: (%u,%u) to (%u,%u)\n", cb->start.lnum,
+ printf("Selection is: (%ld,%d) to (%ld,%d)\n", cb->start.lnum,
cb->start.col, cb->end.lnum, cb->end.col);
#endif
}
diff --git a/src/version.c b/src/version.c
index 1f54a4ae7..af80600c0 100644
--- a/src/version.c
+++ b/src/version.c
@@ -743,6 +743,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 106,
+/**/
105,
/**/
104,