diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-08-02 21:13:16 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-08-02 21:13:16 -0400 |
commit | 2d2da648f6aa07cfca3d6065d9126897e42927a1 (patch) | |
tree | 321cd172303af05c61da33659231a5b7750dc982 /src/stdio/vswscanf.c | |
parent | 86cc54b577f445da1582d2cf1ac3eff064ca27ef (diff) | |
download | musl-2d2da648f6aa07cfca3d6065d9126897e42927a1.tar.gz musl-2d2da648f6aa07cfca3d6065d9126897e42927a1.tar.xz musl-2d2da648f6aa07cfca3d6065d9126897e42927a1.zip |
fix aliasing violations in tsearch functions
patch by nsz. the actual object the caller has storing the tree root has type void *, so accessing it as struct node * is not valid. instead, simply access the value, move it to a temporary of the appropriate type and work from there, then move the result back.
Diffstat (limited to 'src/stdio/vswscanf.c')
0 files changed, 0 insertions, 0 deletions