mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
fix typecast
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35458 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ee4052bf6d
commit
543be7f837
1 changed files with 1 additions and 1 deletions
|
@ -1200,7 +1200,7 @@ init_iface()
|
|||
if (addr != 0) free(addr);
|
||||
addr = (struct in_addr*)malloc((countActive+1)*IASIZE);
|
||||
if (bcok != 0) free(bcok);
|
||||
bcok = (char*)malloc((countActive+1)*sizeof(char));
|
||||
bcok = (unsigned char*)malloc((countActive+1)*sizeof(unsigned char));
|
||||
if (bcst != 0) free(bcst);
|
||||
bcst = (struct in_addr*)malloc((countActive+1)*IASIZE);
|
||||
if (mask != 0) free(mask);
|
||||
|
|
Loading…
Reference in a new issue