Problem: Using short instead of int.
Solution: Use int. (closes #9658)
static int
cs_cnt_connections(void)
{
- short i;
- short cnt = 0;
+ int i;
+ int cnt = 0;
for (i = 0; i < csinfo_size; i++)
- {
if (csinfo[i].fname != NULL)
cnt++;
- }
return cnt;
}
char *flags,
stat_T *sb UNUSED)
{
- short i, j;
+ int i;
+ int j;
#ifndef UNIX
BY_HANDLE_FILE_INFORMATION bhfi;
cs_kill(exarg_T *eap UNUSED)
{
char *stok;
- short i;
+ int i;
if ((stok = strtok((char *)NULL, (const char *)" ")) == NULL)
{
static int
cs_show(exarg_T *eap UNUSED)
{
- short i;
+ int i;
+
if (cs_cnt_connections() == 0)
msg_puts(_("no cscope connections\n"));
else
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 4254,
/**/
4253,
/**/