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:
parent
65725440aa
commit
bcda34a0b3
2 changed files with 6 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue