From: Eric Wong <normalperson@yhbt.net>
To: spew@80x24.org
Subject: spew
Date: Mon, 29 Jun 2015 17:45:00 +0000 [thread overview]
Message-ID: <20150629174500.GA14367@dcvr.yhbt.net> (raw)
diff --git a/st.c b/st.c
index 4b9099c..eb95fe3 100644
--- a/st.c
+++ b/st.c
@@ -196,7 +196,8 @@ stat_col(void)
static struct list_head *
st_head(const st_table *tbl)
{
- return (struct list_head *)&tbl->as.big.private_list_head;
+ uintptr_t addr = &tbl->as.big.private_list_head;
+ return (struct list_head *)addr;
}
st_table*
next reply other threads:[~2015-06-29 17:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-29 17:45 Eric Wong [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-08-23 19:32 spew Eric Wong
2016-08-02 20:54 spew Eric Wong
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=20150629174500.GA14367@dcvr.yhbt.net \
--to=normalperson@yhbt.net \
--cc=spew@80x24.org \
/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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).