zsh-workers
 help / color / mirror / code / Atom feed
* Small oneliner to fix warnings
@ 2001-04-18 19:18 Mads Martin Jørgensen
  2001-04-18 20:49 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Mads Martin Jørgensen @ 2001-04-18 19:18 UTC (permalink / raw)
  To: zsh-workers

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-04-19  1:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-18 19:18 Small oneliner to fix warnings Mads Martin Jørgensen
2001-04-18 20:49 ` Bart Schaefer
2001-04-19  1:46   ` Mads Martin Jørgensen

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).