comparison src/ops.c @ 1860:f765f9c139de v7.2.158

updated for version 7.2-158
author vimboss
date Wed, 22 Apr 2009 15:45:05 +0000
parents df7ceb64b0c6
children c474f5691c0c
comparison
equal deleted inserted replaced
1859:e965cf54d887 1860:f765f9c139de
493 } 493 }
494 494
495 block_space_width = non_white_col - oap->start_vcol; 495 block_space_width = non_white_col - oap->start_vcol;
496 /* We will shift by "total" or "block_space_width", whichever is less. 496 /* We will shift by "total" or "block_space_width", whichever is less.
497 */ 497 */
498 shift_amount = (block_space_width < total? block_space_width: total); 498 shift_amount = (block_space_width < (size_t)total
499 ? block_space_width : (size_t)total);
499 500
500 /* The column to which we will shift the text. */ 501 /* The column to which we will shift the text. */
501 destination_col = non_white_col - shift_amount; 502 destination_col = (colnr_T)(non_white_col - shift_amount);
502 503
503 /* Now let's find out how much of the beginning of the line we can 504 /* Now let's find out how much of the beginning of the line we can
504 * reuse without modification. */ 505 * reuse without modification. */
505 verbatim_copy_end = bd.textstart; 506 verbatim_copy_end = bd.textstart;
506 verbatim_copy_width = bd.start_vcol; 507 verbatim_copy_width = bd.start_vcol;