[Pkg-zsh-commits] [zsh] 08/11: 32099: change pointer declaration to avoid arithmetic on (void *).
Axel Beckert
abe at deuxchevaux.org
Sun Dec 15 00:38:28 UTC 2013
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch upstream
in repository zsh.
commit bcda34a0b39e2bca669c2ae1c6f203e175059a02
Author: Barton E. Schaefer <schaefer at zsh.org>
Date: Tue Dec 10 14:22:10 2013 -0800
32099: change pointer declaration to avoid arithmetic on (void *).
---
ChangeLog | 5 +++++
Src/init.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 86e59be..96dafe4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-12-10 Barton E. Schaefer <schaefer at zsh.org>
+
+ * 32099: Src/init.c: fix pointer declaration to avoid compile
+ time error when arithmetic on void * is not allowed.
+
2013-12-09 Peter Stephenson <p.w.stephenson at ntlworld.com>
* users/18210: Doc/Zsh/builtins.yo: document print -D better.
diff --git a/Src/init.c b/Src/init.c
index 7032ff8..53c4fbd 100644
--- a/Src/init.c
+++ b/Src/init.c
@@ -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);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/zsh.git
More information about the Pkg-zsh-commits
mailing list