mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Fix tst-sscanf and tst-swscanf on 64-bit.
* stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when processing int_tests.
This commit is contained in:
parent
43bb7f07a0
commit
195b8165ac
@ -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.
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user