diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | stdio-common/tst-sscanf.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index c457d8b72f..ce8b20735d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-02-11 David S. Miller <davem@davemloft.net> + + * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when + processing int_tests. + 2014-02-10 Joseph Myers <joseph@codesourcery.com> * sysdeps/mips: Move directory from ports/sysdeps/mips. diff --git a/stdio-common/tst-sscanf.c b/stdio-common/tst-sscanf.c index 1214c7d068..9fef93a535 100644 --- a/stdio-common/tst-sscanf.c +++ b/stdio-common/tst-sscanf.c @@ -186,7 +186,8 @@ main (void) for (i = 0; i < sizeof (int_tests) / sizeof (int_tests[0]); ++i) { - int dummy, ret; + long dummy; + int ret; if ((ret = SSCANF (int_tests[i].str, int_tests[i].fmt, &dummy)) != int_tests[i].retval) |