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:
Juli Mallett 2002-05-22 11:16:48 +00:00
parent d7853f431e
commit 27ffa61f2a

View File

@ -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);
}