Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/sbus Fix bus_size_t/size_t/int confusion.



details:   https://anonhg.NetBSD.org/src/rev/d7455ce73df6
branches:  trunk
changeset: 473270:d7455ce73df6
user:      pk <pk%NetBSD.org@localhost>
date:      Thu May 27 14:22:28 1999 +0000

description:
Fix bus_size_t/size_t/int confusion.

diffstat:

 sys/dev/sbus/isp_sbus.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 0a6574beeefc -r d7455ce73df6 sys/dev/sbus/isp_sbus.c
--- a/sys/dev/sbus/isp_sbus.c   Thu May 27 14:20:10 1999 +0000
+++ b/sys/dev/sbus/isp_sbus.c   Thu May 27 14:22:28 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: isp_sbus.c,v 1.11 1999/04/25 10:40:53 pk Exp $ */
+/* $NetBSD: isp_sbus.c,v 1.12 1999/05/27 14:22:28 pk Exp $ */
 /* release_03_25_99 */
 /*
  * SBus specific probe and attach routines for Qlogic ISP SCSI adapters.
@@ -259,7 +259,8 @@
 {
        struct isp_sbussoftc *sbc = (struct isp_sbussoftc *) isp;
        bus_dma_segment_t seg;
-       size_t len, rseg;
+       int rseg;
+       bus_size_t len;
 
        /*
         * NOTE: Since most Sun machines aren't I/O coherent,



Home | Main Index | Thread Index | Old Index