Patch 8.2.0091
Problem: Compiler warnings for size_t / int types.
Solution: Change type to size_t. (Mike Williams)
Files: src/scriptfile.c
*** ../vim-8.2.0090/src/scriptfile.c 2019-12-30 10:56:57.032237969 +0100
--- src/scriptfile.c 2020-01-06 19:52:02.818642540 +0100
***************
*** 97,106 ****
{
estack_T *entry;
#ifdef FEAT_EVAL
! int len;
int idx;
char *res;
! int done;
#endif
entry = ((estack_T *)exestack.ga_data) + exestack.ga_len - 1;
--- 97,106 ----
{
estack_T *entry;
#ifdef FEAT_EVAL
! size_t len;
int idx;
char *res;
! size_t done;
#endif
entry = ((estack_T *)exestack.ga_data) + exestack.ga_len - 1;
***************
*** 126,132 ****
len += STRLEN(entry->es_name) + 15;
}
! res = (char *)alloc(len);
if (res != NULL)
{
STRCPY(res, "function ");
--- 126,132 ----
len += STRLEN(entry->es_name) + 15;
}
! res = (char *)alloc((int)len);
if (res != NULL)
{
STRCPY(res, "function ");
*** ../vim-8.2.0090/src/version.c 2020-01-05 22:10:27.787277609 +0100
--- src/version.c 2020-01-06 19:53:06.694401790 +0100
***************
*** 744,745 ****
--- 744,747 ----
{ /* Add new patch number below this line */
+ /**/
+ 91,
/**/
--
SIGFUN -- signature too funny (core dumped)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202001061859.006IxWYp003595%40masaka.moolenaar.net.