mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
patch 8.2.4254: using short instead of int
Problem: Using short instead of int. Solution: Use int. (closes #9658)
This commit is contained in:
committed by
Bram Moolenaar
parent
37f47958b8
commit
f12b7815f6
@@ -675,14 +675,12 @@ cs_check_for_tags(void)
|
|||||||
static int
|
static int
|
||||||
cs_cnt_connections(void)
|
cs_cnt_connections(void)
|
||||||
{
|
{
|
||||||
short i;
|
int i;
|
||||||
short cnt = 0;
|
int cnt = 0;
|
||||||
|
|
||||||
for (i = 0; i < csinfo_size; i++)
|
for (i = 0; i < csinfo_size; i++)
|
||||||
{
|
|
||||||
if (csinfo[i].fname != NULL)
|
if (csinfo[i].fname != NULL)
|
||||||
cnt++;
|
cnt++;
|
||||||
}
|
|
||||||
return cnt;
|
return cnt;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1358,7 +1356,8 @@ cs_insert_filelist(
|
|||||||
char *flags,
|
char *flags,
|
||||||
stat_T *sb UNUSED)
|
stat_T *sb UNUSED)
|
||||||
{
|
{
|
||||||
short i, j;
|
int i;
|
||||||
|
int j;
|
||||||
#ifndef UNIX
|
#ifndef UNIX
|
||||||
BY_HANDLE_FILE_INFORMATION bhfi;
|
BY_HANDLE_FILE_INFORMATION bhfi;
|
||||||
|
|
||||||
@@ -1522,7 +1521,7 @@ cs_lookup_cmd(exarg_T *eap)
|
|||||||
cs_kill(exarg_T *eap UNUSED)
|
cs_kill(exarg_T *eap UNUSED)
|
||||||
{
|
{
|
||||||
char *stok;
|
char *stok;
|
||||||
short i;
|
int i;
|
||||||
|
|
||||||
if ((stok = strtok((char *)NULL, (const char *)" ")) == NULL)
|
if ((stok = strtok((char *)NULL, (const char *)" ")) == NULL)
|
||||||
{
|
{
|
||||||
@@ -2456,7 +2455,8 @@ cs_resolve_file(int i, char *name)
|
|||||||
static int
|
static int
|
||||||
cs_show(exarg_T *eap UNUSED)
|
cs_show(exarg_T *eap UNUSED)
|
||||||
{
|
{
|
||||||
short i;
|
int i;
|
||||||
|
|
||||||
if (cs_cnt_connections() == 0)
|
if (cs_cnt_connections() == 0)
|
||||||
msg_puts(_("no cscope connections\n"));
|
msg_puts(_("no cscope connections\n"));
|
||||||
else
|
else
|
||||||
|
@@ -750,6 +750,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 */
|
||||||
|
/**/
|
||||||
|
4254,
|
||||||
/**/
|
/**/
|
||||||
4253,
|
4253,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user