Skip to content

Commit a5c0cc1

Browse files
committed
patch 7.4.2125
Problem: Compiler warning for loss of data. Solution: Add a type cast. (Christian Brabandt)
1 parent 623cf88 commit a5c0cc1

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/message.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ trunc_string(
304304
if (len + n > room || half == 0)
305305
break;
306306
len += n;
307-
i = half;
307+
i = (int)half;
308308
}
309309
}
310310
else

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,8 @@ static char *(features[]) =
763763

764764
static int included_patches[] =
765765
{ /* Add new patch number below this line */
766+
/**/
767+
2125,
766768
/**/
767769
2124,
768770
/**/

0 commit comments

Comments
 (0)