mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.4.443
Problem: Error reported by ubsan when running test 72. Solution: Add type cast to unsigned. (Dominique Pelle)
This commit is contained in:
@@ -1019,7 +1019,7 @@ undo_read_4c(bi)
|
|||||||
int n;
|
int n;
|
||||||
|
|
||||||
undo_read(bi, buf, (size_t)4);
|
undo_read(bi, buf, (size_t)4);
|
||||||
n = (buf[0] << 24) + (buf[1] << 16) + (buf[2] << 8) + buf[3];
|
n = ((unsigned)buf[0] << 24) + (buf[1] << 16) + (buf[2] << 8) + buf[3];
|
||||||
return n;
|
return n;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@@ -741,6 +741,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 */
|
||||||
|
/**/
|
||||||
|
443,
|
||||||
/**/
|
/**/
|
||||||
442,
|
442,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user