mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.0091: compiler warnings for size_t / int types
Problem: Compiler warnings for size_t / int types. Solution: Change type to size_t. (Mike Williams)
This commit is contained in:
parent
b376ace1ae
commit
4d7a248b64
@ -97,10 +97,10 @@ estack_sfile(void)
|
|||||||
{
|
{
|
||||||
estack_T *entry;
|
estack_T *entry;
|
||||||
#ifdef FEAT_EVAL
|
#ifdef FEAT_EVAL
|
||||||
int len;
|
size_t len;
|
||||||
int idx;
|
int idx;
|
||||||
char *res;
|
char *res;
|
||||||
int done;
|
size_t done;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
entry = ((estack_T *)exestack.ga_data) + exestack.ga_len - 1;
|
entry = ((estack_T *)exestack.ga_data) + exestack.ga_len - 1;
|
||||||
@ -126,7 +126,7 @@ estack_sfile(void)
|
|||||||
len += STRLEN(entry->es_name) + 15;
|
len += STRLEN(entry->es_name) + 15;
|
||||||
}
|
}
|
||||||
|
|
||||||
res = (char *)alloc(len);
|
res = (char *)alloc((int)len);
|
||||||
if (res != NULL)
|
if (res != NULL)
|
||||||
{
|
{
|
||||||
STRCPY(res, "function ");
|
STRCPY(res, "function ");
|
||||||
|
@ -742,6 +742,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
91,
|
||||||
/**/
|
/**/
|
||||||
90,
|
90,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user