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

Small oneliner to fix warnings



Here is a small oneliner to fix a warning when building zsh on ia64.
The warning:

terminfo.c:69: warning: cast to pointer from integer of different size
terminfo.c:168: warning: cast to pointer from integer of different size

And the obvious patch:

--- zsh-4.0.1-pre-3/Src/Modules/terminfo.c
+++ zsh-4.0.1-pre-3/Src/Modules/terminfo.c  2001/04/15 20:00:42
@@ -27,6 +27,7 @@
  *
  */
 
+#include <ncurses.h>
 #include "terminfo.mdh"
 #include "terminfo.pro"
       
Thanks,
Mads Martin
-- 
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic and
totally illogic, with just a little bit more effort."
                                -- A. P. J.



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