Stop casting the const char * to void * to char * to make compile more happy
after r264573. Someone submit to: OpenBSD MFC after: 13 days X-MFC with: r264573
This commit is contained in:
parent
56709e11fd
commit
5286166087
@ -348,7 +348,7 @@ bc_yyinput(char *buf, int maxlen)
|
||||
skipchars = 0;
|
||||
sigprocmask(SIG_SETMASK, &oset, NULL);
|
||||
if (num > maxlen) {
|
||||
el_push(el, (char *)(void *)bp + maxlen);
|
||||
el_push(el, bp + maxlen);
|
||||
num = maxlen;
|
||||
}
|
||||
memcpy(buf, bp, num);
|
||||
|
Loading…
Reference in New Issue
Block a user