Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netisdn XXX: 32 bit pointer
details: https://anonhg.NetBSD.org/src/rev/06c793bf24f9
branches: trunk
changeset: 327909:06c793bf24f9
user: christos <christos%NetBSD.org@localhost>
date: Thu Mar 20 20:43:35 2014 +0000
description:
XXX: 32 bit pointer
diffstat:
sys/netisdn/i4b_capi_msgs.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 1b1d32169d96 -r 06c793bf24f9 sys/netisdn/i4b_capi_msgs.c
--- a/sys/netisdn/i4b_capi_msgs.c Thu Mar 20 20:42:08 2014 +0000
+++ b/sys/netisdn/i4b_capi_msgs.c Thu Mar 20 20:43:35 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i4b_capi_msgs.c,v 1.7 2005/12/11 12:25:06 christos Exp $ */
+/* $NetBSD: i4b_capi_msgs.c,v 1.8 2014/03/20 20:43:35 christos Exp $ */
/*
* Copyright (c) 2001-2003 Cubical Solutions Ltd. All rights reserved.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i4b_capi_msgs.c,v 1.7 2005/12/11 12:25:06 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i4b_capi_msgs.c,v 1.8 2014/03/20 20:43:35 christos Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -726,7 +726,8 @@
msg = capimsg_setu16(msg, msgid);
msg = capimsg_setu32(msg, sc->sc_bchan[chan].ncci);
- msg = capimsg_setu32(msg, (u_int32_t) m_b3->m_data); /* Pointer */
+ /* XXX: 32bit Pointer */
+ msg = capimsg_setu32(msg, (u_int32_t)(intptr_t)m_b3->m_data);
msg = capimsg_setu16(msg, m_b3->m_len);
msg = capimsg_setu16(msg, chan);
msg = capimsg_setu16(msg, 0); /* Flags */
Home |
Main Index |
Thread Index |
Old Index