Add some explicit casts-through-void* to silence warnings about casts that increase the alignment requirements of the pointee (mostly caused by using char* for arithmetic).

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32219 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
theraven 2011-02-19 15:34:21 +00:00
parent 56cdca569a
commit f31000e770
8 changed files with 25 additions and 21 deletions

View file

@ -809,7 +809,7 @@ static NSString * const GSSOCKSAckConn = @"GSSOCKSAckConn";
#endif /* AF_INET6 */
else
{
struct sockaddr_in *addr = (struct sockaddr_in*)[istream _address];
struct sockaddr_in *addr = (struct sockaddr_in*)(void*)[istream _address];
NSDictionary *conf;
NSString *host;
int pnum;