diff options
author | Andreas Schwab <schwab@suse.de> | 2020-10-01 13:59:13 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2020-10-08 10:09:30 +0200 |
commit | c0e9ddf59e73e21afe15fca4e94cf7b4b7359bf2 (patch) | |
tree | 01c560ccd7cc81242b051d0d0e8a6c920bd774cd /elf/unload2dep.c | |
parent | 8f8052c2aadebe05140c433b2fc9b2c04a0199e0 (diff) | |
download | glibc-c0e9ddf59e73e21afe15fca4e94cf7b4b7359bf2.zip glibc-c0e9ddf59e73e21afe15fca4e94cf7b4b7359bf2.tar.gz glibc-c0e9ddf59e73e21afe15fca4e94cf7b4b7359bf2.tar.bz2 |
__vfscanf_internal: fix aliasing violation (bug 26690)
As noted in <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97264>, the cast
in the call to the read_int function is an aliasing violation. Change the
type of local variable f to a pointer to unsigned, which allows to
eliminate most casts while only adding three new ones.
Diffstat (limited to 'elf/unload2dep.c')
0 files changed, 0 insertions, 0 deletions