From: Jan Kiszka <jan.kiszka@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: [Xenomai-core] [PULL REQUEST] rtipc: Fix 64-bit related warnings
Date: Fri, 18 Sep 2009 11:24:13 +0200 [thread overview]
Message-ID: <4AB351BD.9050201@domain.hid> (raw)
The following changes since commit 13d66eb4c8f1648614095d43dd529a3c98fc5278:
Philippe Gerum (1):
x86: upgrade I-pipe support to 2.6.31-x86-2.4-05
are available in the git repository at:
git://xenomai.org/xenomai-jki.git for-upstream
Jan Kiszka (1):
rtipc: Fix 64-bit related warnings
ksrc/drivers/ipc/internal.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
rtipc: Fix 64-bit related warnings
Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
diff --git a/ksrc/drivers/ipc/internal.h b/ksrc/drivers/ipc/internal.h
index 737038e..296a988 100644
--- a/ksrc/drivers/ipc/internal.h
+++ b/ksrc/drivers/ipc/internal.h
@@ -70,12 +70,12 @@ static inline void *rtipc_context_to_state(struct rtdm_dev_context *context)
static inline void *rtipc_fd2map(int fd)
{
- return (void *)(fd + 1);
+ return (void *)(long)(fd + 1);
}
static inline int rtipc_map2fd(void *p)
{
- return (int)(p) - 1;
+ return (long)p - 1;
}
static inline nanosecs_rel_t rtipc_timeval_to_ns(const struct timeval *tv)
reply other threads:[~2009-09-18 9:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4AB351BD.9050201@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=rpm@xenomai.org \
--cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.