int i;
char **ep, **nep, *cp;
- cp = mh_xcalloc((size_t) (strlen(name) + strlen(value) + 2), sizeof(char));
+ cp = mh_xcalloc(strlen(name) + strlen(value) + 2, sizeof(char));
sprintf(cp, "%s=%s", name, value);
return 0;
}
- nep = (char **) mh_xcalloc((size_t) (i + 2), sizeof(*nep));
+ nep = mh_xcalloc(i + 2, sizeof(*nep));
for (ep = environ, i = 0; *ep; nep[i++] = *ep++)
continue;