From 10bc4452da8ead375acc71f636c5249f74509e02 Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Fri, 25 Jul 2003 03:35:14 +0000 Subject: cast and %lu for size_t variable printf --- sys/dev/ic/ncr53c9x.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/ic/ncr53c9x.c') diff --git a/sys/dev/ic/ncr53c9x.c b/sys/dev/ic/ncr53c9x.c index 0de723cdb98..ce7fe181ec0 100644 --- a/sys/dev/ic/ncr53c9x.c +++ b/sys/dev/ic/ncr53c9x.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ncr53c9x.c,v 1.19 2003/06/05 12:27:02 deraadt Exp $ */ +/* $OpenBSD: ncr53c9x.c,v 1.20 2003/07/25 03:35:13 jason Exp $ */ /* $NetBSD: ncr53c9x.c,v 1.56 2000/11/30 14:41:46 thorpej Exp $ */ /* @@ -1098,7 +1098,7 @@ ncr53c9x_done(sc, ecb) #ifdef NCR53C9X_DEBUG if (ncr53c9x_debug & NCR_SHOWMISC) { if (xs->resid != 0) - printf("resid=%d ", xs->resid); + printf("resid=%lu ", (unsigned long)xs->resid); if (xs->error == XS_SENSE) printf("sense=0x%02x\n", xs->sense.error_code); else -- cgit v1.2.3