mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.3.128
Problem: Another compiler warning for signed pointer. Solution: Use unsigned int argument for sscanf().
This commit is contained in:
@@ -1750,7 +1750,10 @@ copy_viminfo_marks(virp, fp_out, count, eof, flags)
|
|||||||
{
|
{
|
||||||
if (line[1] != NUL)
|
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])
|
switch (line[1])
|
||||||
{
|
{
|
||||||
case '"': curbuf->b_last_cursor = pos; break;
|
case '"': curbuf->b_last_cursor = pos; break;
|
||||||
|
@@ -714,6 +714,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 */
|
||||||
|
/**/
|
||||||
|
128,
|
||||||
/**/
|
/**/
|
||||||
127,
|
127,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user