mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Housekeeping - typecasts to avoid warnings and removal of redundant methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2870 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9a7f58d597
commit
8f568c7e39
16 changed files with 34 additions and 61 deletions
|
@ -114,7 +114,7 @@ static NSMutableDictionary *_hostCache = nil;
|
|||
memcpy((void *)&in.s_addr, (const void *)ptr,
|
||||
entry->h_length);
|
||||
[addresses addObject:[NSString
|
||||
stringWithCString:inet_ntoa(in)]];
|
||||
stringWithCString:(char*)inet_ntoa(in)]];
|
||||
}
|
||||
|
||||
[_hostCacheLock lock];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue