Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Fix warnings by -Wpointer-sign, which is disabled...
details: https://anonhg.NetBSD.org/src/rev/7164636f67a7
branches: trunk
changeset: 747382:7164636f67a7
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sat Sep 12 19:16:35 2009 +0000
description:
Fix warnings by -Wpointer-sign, which is disabled by default. PR kern/33965
diffstat:
sys/dev/ic/aic7xxx_osm.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 82fc13d5166e -r 7164636f67a7 sys/dev/ic/aic7xxx_osm.c
--- a/sys/dev/ic/aic7xxx_osm.c Sat Sep 12 18:53:22 2009 +0000
+++ b/sys/dev/ic/aic7xxx_osm.c Sat Sep 12 19:16:35 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aic7xxx_osm.c,v 1.33 2009/09/02 11:44:11 tsutsui Exp $ */
+/* $NetBSD: aic7xxx_osm.c,v 1.34 2009/09/12 19:16:35 tsutsui Exp $ */
/*
* Bus independent FreeBSD shim for the aic7xxx based adaptec SCSI controllers
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aic7xxx_osm.c,v 1.33 2009/09/02 11:44:11 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aic7xxx_osm.c,v 1.34 2009/09/12 19:16:35 tsutsui Exp $");
#include <dev/ic/aic7xxx_osm.h>
#include <dev/ic/aic7xxx_inline.h>
@@ -516,7 +516,7 @@
struct ahc_tmode_tstate *tstate;
u_int mask;
- long s;
+ u_long s;
scb = (struct scb *)arg;
xs = scb->xs;
@@ -795,7 +795,7 @@
{
struct scb *scb;
struct ahc_softc *ahc;
- long s;
+ u_long s;
int found;
u_int last_phase;
int target;
Home |
Main Index |
Thread Index |
Old Index