Mercurial > vim
comparison src/ex_getln.c @ 14544:2b2d7ae42fb8 v8.1.0285
patch 8.1.0285: compiler warning for conversion
commit https://github.com/vim/vim/commit/d7cc16357083c4fc4271e25fb36c4fbaee99e0f1
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Aug 14 20:18:26 2018 +0200
patch 8.1.0285: compiler warning for conversion
Problem: Compiler warning for conversion.
Solution: Add a type cast. (Mike Williams)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 14 Aug 2018 20:30:06 +0200 |
parents | 116a01c73fd8 |
children | 35e7ead872db |
comparison
equal
deleted
inserted
replaced
14543:e716a0dc84f2 | 14544:2b2d7ae42fb8 |
---|---|
578 | 578 |
579 if (firstc == ccline.cmdbuff[skiplen]) | 579 if (firstc == ccline.cmdbuff[skiplen]) |
580 { | 580 { |
581 pat = last_search_pattern(); | 581 pat = last_search_pattern(); |
582 skiplen = 0; | 582 skiplen = 0; |
583 patlen = STRLEN(pat); | 583 patlen = (int)STRLEN(pat); |
584 } | 584 } |
585 else | 585 else |
586 pat = ccline.cmdbuff + skiplen; | 586 pat = ccline.cmdbuff + skiplen; |
587 | 587 |
588 save_last_search_pattern(); | 588 save_last_search_pattern(); |