Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netisdn Change a integer value that is passed via a void...



details:   https://anonhg.NetBSD.org/src/rev/9a0d4f20b50b
branches:  trunk
changeset: 546916:9a0d4f20b50b
user:      martin <martin%NetBSD.org@localhost>
date:      Thu May 08 21:15:13 2003 +0000

description:
Change a integer value that is passed via a void* in an ioctl() like
function to a intptr_t. This makes it compile on sparc64.
Addresses parts of PR kern/21448 by Frank Kardel.

diffstat:

 sys/netisdn/i4b_l4if.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r ff0d56b75885 -r 9a0d4f20b50b sys/netisdn/i4b_l4if.c
--- a/sys/netisdn/i4b_l4if.c    Thu May 08 20:42:39 2003 +0000
+++ b/sys/netisdn/i4b_l4if.c    Thu May 08 21:15:13 2003 +0000
@@ -27,7 +27,7 @@
  *     i4b_l4if.c - Layer 3 interface to Layer 4
  *     -------------------------------------------
  *
- *     $Id: i4b_l4if.c,v 1.13 2002/05/21 10:31:11 martin Exp $ 
+ *     $Id: i4b_l4if.c,v 1.14 2003/05/08 21:15:13 martin Exp $ 
  *
  * $FreeBSD$
  *
@@ -36,7 +36,7 @@
  *---------------------------------------------------------------------------*/
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i4b_l4if.c,v 1.13 2002/05/21 10:31:11 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i4b_l4if.c,v 1.14 2003/05/08 21:15:13 martin Exp $");
 
 #ifdef __FreeBSD__
 #include "i4bq931.h"
@@ -190,7 +190,7 @@
 void
 update_controller_leds(struct isdn_l3_driver *d)
 {
-       int leds = 0;
+       intptr_t leds = 0;
 
        if (d->tei != -1)
                leds |= CMRLEDS_TEI;



Home | Main Index | Thread Index | Old Index