Mercurial > vim
comparison src/vim9execute.c @ 20225:eaaee0dfa435 v8.2.0668
patch 8.2.0668: compiler warning for int/size_t usage
Commit: https://github.com/vim/vim/commit/7f6f56f43c48f0b7288a4edd12b59fa7335f01d3
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 30 20:21:43 2020 +0200
patch 8.2.0668: compiler warning for int/size_t usage
Problem: Compiler warning for int/size_t usage.
Solution: Change "int" to "size_t". (Mike Williams)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 30 Apr 2020 20:30:04 +0200 |
parents | 63cc54100ae4 |
children | 23d75968ca5e |
comparison
equal
deleted
inserted
replaced
20224:e14b78c299ee | 20225:eaaee0dfa435 |
---|---|
651 | 651 |
652 // execute Ex command from pieces on the stack | 652 // execute Ex command from pieces on the stack |
653 case ISN_EXECCONCAT: | 653 case ISN_EXECCONCAT: |
654 { | 654 { |
655 int count = iptr->isn_arg.number; | 655 int count = iptr->isn_arg.number; |
656 int len = 0; | 656 size_t len = 0; |
657 int pass; | 657 int pass; |
658 int i; | 658 int i; |
659 char_u *cmd = NULL; | 659 char_u *cmd = NULL; |
660 char_u *str; | 660 char_u *str; |
661 | 661 |