summaryrefslogtreecommitdiffstats
path: root/src/ui.c
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/ui.c
parentc838626fea42ed5924ee6084d87d1b37b2d7b0ff (diff)
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/ui.c')
-rw-r--r--src/ui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui.c b/src/ui.c
index f4f7bcf837..151857f6f4 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
}