Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/scsipi Remove cast to non-const and make this compil...



details:   https://anonhg.NetBSD.org/src/rev/bb5d43fc1a31
branches:  trunk
changeset: 581648:bb5d43fc1a31
user:      jdc <jdc%NetBSD.org@localhost>
date:      Fri Jun 03 13:44:11 2005 +0000

description:
Remove cast to non-const and make this compile again.

diffstat:

 sys/dev/scsipi/if_se.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 02d10a42a018 -r bb5d43fc1a31 sys/dev/scsipi/if_se.c
--- a/sys/dev/scsipi/if_se.c    Fri Jun 03 13:30:10 2005 +0000
+++ b/sys/dev/scsipi/if_se.c    Fri Jun 03 13:44:11 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_se.c,v 1.57 2005/02/27 00:27:48 perry Exp $ */
+/*     $NetBSD: if_se.c,v 1.58 2005/06/03 13:44:11 jdc Exp $   */
 
 /*
  * Copyright (c) 1997 Ian W. Dall <ian.dall%dsto.defence.gov.au@localhost>
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_se.c,v 1.57 2005/02/27 00:27:48 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_se.c,v 1.58 2005/06/03 13:44:11 jdc Exp $");
 
 #include "opt_inet.h"
 #include "opt_atalk.h"
@@ -300,7 +300,7 @@
        int priority;
 
        (void)scsipi_inqmatch(&sa->sa_inqbuf,
-           (caddr_t)se_patterns, sizeof(se_patterns) / sizeof(se_patterns[0]),
+           se_patterns, sizeof(se_patterns) / sizeof(se_patterns[0]),
            sizeof(se_patterns[0]), &priority);
        return (priority);
 }



Home | Main Index | Thread Index | Old Index