]> git.ipfire.org Git - thirdparty/ipset.git/commit
Use cast to void * instead of memcpy as Sparc workaround at sockaddr_XXX.
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 23 Dec 2010 13:44:44 +0000 (14:44 +0100)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Thu, 23 Dec 2010 13:44:44 +0000 (14:44 +0100)
commit7c80f67c0c16620e8b0425a129b3dfe72a72aaed
tree54ea7d5aad5071ff6012b33ea611ac37032b28b3
parentcce6edeef0e3829fb88185cebf13b21963afe032
Use cast to void * instead of memcpy as Sparc workaround at sockaddr_XXX.

Direct cast results "cast increases required alignment of target type" on
Sparc: use indirect cast to void * instead of memcpy, as Jan Engelhardt
suggested.
lib/parse.c