Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm26/podulebus Cast size_t argument appropriately ...



details:   https://anonhg.NetBSD.org/src/rev/dcd53d49d300
branches:  trunk
changeset: 513738:dcd53d49d300
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Fri Aug 10 18:51:06 2001 +0000

description:
Cast size_t argument appropriately for printf format.

diffstat:

 sys/arch/arm26/podulebus/if_eh.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 36e75228e460 -r dcd53d49d300 sys/arch/arm26/podulebus/if_eh.c
--- a/sys/arch/arm26/podulebus/if_eh.c  Fri Aug 10 18:27:08 2001 +0000
+++ b/sys/arch/arm26/podulebus/if_eh.c  Fri Aug 10 18:51:06 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_eh.c,v 1.18 2001/06/28 23:01:55 bjh21 Exp $ */
+/* $NetBSD: if_eh.c,v 1.19 2001/08/10 18:51:06 bjh21 Exp $ */
 
 /*-
  * Copyright (c) 2000 Ben Harris
@@ -53,7 +53,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: if_eh.c,v 1.18 2001/06/28 23:01:55 bjh21 Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_eh.c,v 1.19 2001/08/10 18:51:06 bjh21 Exp $");
 
 #include <sys/systm.h>
 #include <sys/device.h>
@@ -696,7 +696,7 @@
        if (maxwait == 0)
                printf("eh_writemem: failed to complete "
                    "(RSAR=0x%04x, RBCR=0x%04x, CRDA=0x%02x%02x)\n",
-                   dst, len,
+                   dst, (u_int)len,
                    bus_space_read_1(nict, nich, ED_P0_CRDA1),
                    bus_space_read_1(nict, nich, ED_P0_CRDA0));
 }



Home | Main Index | Thread Index | Old Index