return NULL;
}
- p = ohash_find(¯os, ohash_qlookupi(¯os, name, (const char **)&tp));
+ p = ohash_find(¯os, ohash_qlookupi(¯os, name, (const char **)(void *)&tp));
if (p == NULL)
return NULL;
if (macro_getdef(p) == NULL)
} else
Usage("no command specified");
} else {
- rtn = DoCommand(ac, (const char **)av);
+ rtn = DoCommand(ac, (const char **)(void *)av);
}
/* Convert command return code into system exit code */
if (p->link.lcp.fsm.state <= ST_CLOSED) {
if (p->type != PHYS_DEDICATED) {
- found = hdlc_Detect((u_char const **)&rbuff, n, physical_IsSync(p));
+ found = hdlc_Detect((u_char const **)(void *)&rbuff, n, physical_IsSync(p));
if (rbuff != p->input.buf)
log_WritePrompts(p->dl, "%.*s", (int)(rbuff - p->input.buf),
p->input.buf);