commit | d77bd4f466f341d4b35fe8b91176ef8a37160e19 | [log] [tgz] |
---|---|---|
author | Andre Przywara <andre.przywara@arm.com> | Fri Jul 17 17:02:14 2015 +0100 |
committer | Will Deacon <will.deacon@arm.com> | Mon Jul 20 18:25:48 2015 +0100 |
tree | 2747c8df25c619e432abc2d5580efa59fbbf92a7 | |
parent | 369c27e68300a6cf0a98f7455a81b7e4473c7a8b [diff] |
Fix call to connect() According to the manpage and the prototype the second argument to connect(2) is a "const struct sockaddr*", so cast our protocol specific type back to the super type. This fixes compilation on musl-libc. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>