From: Bram Moolenaar Date: Thu, 11 Sep 2014 20:50:09 +0000 (+0200) Subject: updated for version 7.4.443 X-Git-Tag: v7.4.443 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3516928c75f38e4304b76f0697175dbb055af6a2;p=thirdparty%2Fvim.git updated for version 7.4.443 Problem: Error reported by ubsan when running test 72. Solution: Add type cast to unsigned. (Dominique Pelle) --- diff --git a/src/undo.c b/src/undo.c index db6ea29ab7..24dcf0548e 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 70b4087552..c04cb9bc3d 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 443, /**/ 442, /**/