Replace the evil that is __DECONST() with (void *). This is one of the least
evil things we can do involving the const qualifier and a pointer. Submitted by: bde, ru
This commit is contained in:
parent
d7853f431e
commit
27ffa61f2a
@ -117,8 +117,8 @@ str_concat(s1, s2, flags)
|
||||
|
||||
/* free original strings */
|
||||
if (flags & STR_DOFREE) {
|
||||
(void)efree(__DECONST(void *, s1));
|
||||
(void)efree(__DECONST(void *, s2));
|
||||
(void)efree((void *)s1);
|
||||
(void)efree((void *)s2);
|
||||
}
|
||||
return(result);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user