Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated for version 7.3.126

Problem:    Compiler warning for signed pointer.
Solution:   Use unsigned int argument for sscanf().
  • Loading branch information...
commit 8cc3b3177b71bc1e470b138f2d0c604cf2e47226 1 parent 163e8a7
Bram Moolenaar authored
Showing with 5 additions and 2 deletions.
  1. +3 −2 src/blowfish.c
  2. +2 −0  src/version.c
5 src/blowfish.c
View
@@ -413,6 +413,7 @@ bf_key_init(password, salt, salt_len)
int salt_len;
{
int i, j, keypos = 0;
+ unsigned u;
UINT32_T val, data_l, data_r;
char_u *key;
int keylen;
@@ -432,8 +433,8 @@ bf_key_init(password, salt, salt_len)
}
for (i = 0; i < keylen; i++)
{
- sscanf((char *)&key[i * 2], "%2x", &j);
- key[i] = j;
+ sscanf((char *)&key[i * 2], "%2x", &u);
+ key[i] = u;
}
mch_memmove(sbx, sbi, 4 * 4 * 256);
2  src/version.c
View
@@ -715,6 +715,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 126,
+/**/
125,
/**/
124,
Please sign in to comment.
Something went wrong with that request. Please try again.