summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-09-11 22:50:09 +0200
committerBram Moolenaar <Bram@vim.org>2014-09-11 22:50:09 +0200
commit3516928c75f38e4304b76f0697175dbb055af6a2 (patch)
treecc856475a4ac2f3d072fa8aa067b695dd163c14c
parent3089a1068dd5a0645cea0df09a1c8a1f00146649 (diff)
downloadvim-git-3516928c75f38e4304b76f0697175dbb055af6a2.tar.gz
updated for version 7.4.443v7.4.443
Problem: Error reported by ubsan when running test 72. Solution: Add type cast to unsigned. (Dominique Pelle)
-rw-r--r--src/undo.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/undo.c b/src/undo.c
index db6ea29ab..24dcf0548 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -1019,7 +1019,7 @@ undo_read_4c(bi)
int n;
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;
}
#endif
diff --git a/src/version.c b/src/version.c
index 70b408755..c04cb9bc3 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 443,
+/**/
442,
/**/
441,