# HG changeset patch # User Bram Moolenaar # Date 1298643082 -3600 # Node ID 43243f7ce351aecf1f41932a9d02d6723fe49e34 # Parent 0c39ff7a90a81c62f2718f71bf0a4d636a8ac69c updated for version 7.3.128 Problem: Another compiler warning for signed pointer. Solution: Use unsigned int argument for sscanf(). diff --git a/src/mark.c b/src/mark.c --- a/src/mark.c +++ b/src/mark.c @@ -1750,7 +1750,10 @@ copy_viminfo_marks(virp, fp_out, count, { if (line[1] != NUL) { - sscanf((char *)line + 2, "%ld %u", &pos.lnum, &pos.col); + unsigned u; + + sscanf((char *)line + 2, "%ld %u", &pos.lnum, &u); + pos.col = u; switch (line[1]) { case '"': curbuf->b_last_cursor = pos; break; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 128, +/**/ 127, /**/ 126,