diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-01-08 22:06:14 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-01-08 22:06:14 +0100 |
commit | b16ad968499aeb29b6ff9be6cc64fb41522a4a5e (patch) | |
tree | e39115834188725e59d28fa612e84016f0882bcd /src/ui.c | |
parent | c838626fea42ed5924ee6084d87d1b37b2d7b0ff (diff) | |
download | vim-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/ui.c')
-rw-r--r-- | src/ui.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 } |