comparison src/ui.c @ 19091:1c75e1974313 v8.2.0106

patch 8.2.0106: printf formats are not exactly right Commit: https://github.com/vim/vim/commit/b16ad968499aeb29b6ff9be6cc64fb41522a4a5e Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 8 22:06:14 2020 +0100 patch 8.2.0106: printf formats are not exactly right Problem: Printf formats are not exactly right. Solution: Adjust signed/unsigned conversions. (Frazer Clews, closes https://github.com/vim/vim/issues/5456)
author Bram Moolenaar <Bram@vim.org>
date Wed, 08 Jan 2020 22:15:03 +0100
parents 4481f3b29fc5
children 2ef19eed524a
comparison
equal deleted inserted replaced
19090:df1cb3cd21ab 19091:1c75e1974313
1166 } 1166 }
1167 1167
1168 cb->prev = cb->start; 1168 cb->prev = cb->start;
1169 1169
1170 #ifdef DEBUG_SELECTION 1170 #ifdef DEBUG_SELECTION
1171 printf("Selection started at (%u,%u)\n", cb->start.lnum, cb->start.col); 1171 printf("Selection started at (%ld,%d)\n", cb->start.lnum, cb->start.col);
1172 #endif 1172 #endif
1173 } 1173 }
1174 1174
1175 /* 1175 /*
1176 * Continue processing the selection 1176 * Continue processing the selection
1201 cb->state = SELECT_CLEARED; 1201 cb->state = SELECT_CLEARED;
1202 return; 1202 return;
1203 } 1203 }
1204 1204
1205 #ifdef DEBUG_SELECTION 1205 #ifdef DEBUG_SELECTION
1206 printf("Selection ended: (%u,%u) to (%u,%u)\n", cb->start.lnum, 1206 printf("Selection ended: (%ld,%d) to (%ld,%d)\n", cb->start.lnum,
1207 cb->start.col, cb->end.lnum, cb->end.col); 1207 cb->start.col, cb->end.lnum, cb->end.col);
1208 #endif 1208 #endif
1209 if (clip_isautosel_star() 1209 if (clip_isautosel_star()
1210 || ( 1210 || (
1211 #ifdef FEAT_GUI 1211 #ifdef FEAT_GUI
1345 1345
1346 cb->prev.lnum = row; 1346 cb->prev.lnum = row;
1347 cb->prev.col = col; 1347 cb->prev.col = col;
1348 1348
1349 #ifdef DEBUG_SELECTION 1349 #ifdef DEBUG_SELECTION
1350 printf("Selection is: (%u,%u) to (%u,%u)\n", cb->start.lnum, 1350 printf("Selection is: (%ld,%d) to (%ld,%d)\n", cb->start.lnum,
1351 cb->start.col, cb->end.lnum, cb->end.col); 1351 cb->start.col, cb->end.lnum, cb->end.col);
1352 #endif 1352 #endif
1353 } 1353 }
1354 1354
1355 # if defined(FEAT_GUI) || defined(PROTO) 1355 # if defined(FEAT_GUI) || defined(PROTO)