about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2004-03-03 11:05:40 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2004-03-03 11:05:40 +0000
commit0b787b5da25615fff4f41a1101a42f1ab142dcd4 (patch)
treef80d2d865fa99e6d85eebe67fbe8e43e3ebd5fc2 /Src/Zle
parent54af3ffed03e37e8f0749e032ab3aa3e6a06c41e (diff)
downloadzsh-0b787b5da25615fff4f41a1101a42f1ab142dcd4.tar.gz
zsh-0b787b5da25615fff4f41a1101a42f1ab142dcd4.tar.xz
zsh-0b787b5da25615fff4f41a1101a42f1ab142dcd4.zip
19525: suppress compiler warnings and complete groups using lookupd on Mac OS
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/zle_params.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/Zle/zle_params.c b/Src/Zle/zle_params.c
index 0d7b20119..4eb2d455b 100644
--- a/Src/Zle/zle_params.c
+++ b/Src/Zle/zle_params.c
@@ -365,7 +365,7 @@ set_cutbuffer(Param pm, char *x)
 	free(cutbuf.buf);
     cutbuf.flags = 0;
     if (x) {
-	unmetafy(x, &cutbuf.len);
+	unmetafy(x, (int *)&cutbuf.len);
 	cutbuf.buf = zalloc(cutbuf.len);
 	memcpy((char *)cutbuf.buf, x, cutbuf.len);
 	free(x);
@@ -420,7 +420,7 @@ set_killring(Param pm, char **x)
 	for (p = x; *p; p++) {
 	    int len = strlen(*p);
 	    kptr = kring + kpos;
-	    unmetafy(*p, &kptr->len);
+	    unmetafy(*p, (int *)&kptr->len);
 	    kptr->buf = (char *)zalloc(kptr->len);
 	    memcpy(kptr->buf, *p, kptr->len);
 	    zfree(*p, len+1);