From: "Mads Martin Jørgensen" <mmj@suse.com>
To: zsh-workers@sunsite.dk
Subject: Small oneliner to fix warnings
Date: Wed, 18 Apr 2001 12:18:29 -0700 [thread overview]
Message-ID: <20010418121829.I757@suse.com> (raw)
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.
next reply other threads:[~2001-04-18 19:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-18 19:18 Mads Martin Jørgensen [this message]
2001-04-18 20:49 ` Bart Schaefer
2001-04-19 1:46 ` Mads Martin Jørgensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010418121829.I757@suse.com \
--to=mmj@suse.com \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).