Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

shut the compiler up



Index: Src/Modules/parameter.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Modules/parameter.c,v
retrieving revision 1.10
diff -u -r1.10 parameter.c
--- Src/Modules/parameter.c	2000/06/09 15:37:05	1.10
+++ Src/Modules/parameter.c	2000/07/04 09:50:08
@@ -1246,7 +1246,7 @@
 	else
 	    state = sigmsg(WTERMSIG(pn->status));
 
-	sprintf(buf, ":%d=%s", pn->pid, state);
+	sprintf(buf, ":%d=%s", (int)pn->pid, state);
 
 	ret = dyncat(ret, buf);
     }

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070



Messages sorted by: Reverse Date, Date, Thread, Author