1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-28 17:10:59 +01:00

32099: change pointer declaration to avoid arithmetic on (void *).

This commit is contained in:
Barton E. Schaefer 2013-12-10 14:22:10 -08:00
parent 65725440aa
commit bcda34a0b3
2 changed files with 6 additions and 1 deletions

View file

@ -281,7 +281,7 @@ parseargs(char **argv, char **runscript)
/**/
static void
parseopts_insert(LinkList optlist, void *base, int optno)
parseopts_insert(LinkList optlist, char *base, int optno)
{
LinkNode node;
void *ptr = base + (optno < 0 ? -optno : optno);