* [Xenomai-core] [PULL REQUEST] rtipc: Fix 64-bit related warnings
@ 2009-09-18 9:24 Jan Kiszka
0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2009-09-18 9:24 UTC (permalink / raw)
To: Philippe Gerum; +Cc: xenomai-core
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)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-09-18 9:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-18 9:24 [Xenomai-core] [PULL REQUEST] rtipc: Fix 64-bit related warnings Jan Kiszka
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.