summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-07-25 03:35:14 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-07-25 03:35:14 +0000
commit10bc4452da8ead375acc71f636c5249f74509e02 (patch)
tree75574faffc356755c84ac67d24be6847fe3141d6 /sys/dev/ic
parent9b36451ee12dc6b86a390325cf7d6c36e11fdaf8 (diff)
cast and %lu for size_t variable printf
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/ncr53c9x.c4
1 files changed, 2 insertions, 2 deletions
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