From 52c53d8038eecc55b728dd70274b0596573cbc05 Mon Sep 17 00:00:00 2001 From: andvar Date: Sun, 10 Sep 2023 21:13:20 +0000 Subject: [PATCH] return %#x specifier for pcihp->ioh and add (unsigned) cast instead, as it is done everywhere in this code. --- sys/arch/hpcmips/dev/plumpcmcia.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/hpcmips/dev/plumpcmcia.c b/sys/arch/hpcmips/dev/plumpcmcia.c index 64101cbeaa61..a4115ac8b170 100644 --- a/sys/arch/hpcmips/dev/plumpcmcia.c +++ b/sys/arch/hpcmips/dev/plumpcmcia.c @@ -1,4 +1,4 @@ -/* $NetBSD: plumpcmcia.c,v 1.31 2023/09/10 14:28:57 andvar Exp $ */ +/* $NetBSD: plumpcmcia.c,v 1.32 2023/09/10 21:13:20 andvar Exp $ */ /* * Copyright (c) 1999, 2000 UCHIYAMA Yasushi. All rights reserved. @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: plumpcmcia.c,v 1.31 2023/09/10 14:28:57 andvar Exp $"); +__KERNEL_RCSID(0, "$NetBSD: plumpcmcia.c,v 1.32 2023/09/10 21:13:20 andvar Exp $"); #include #include @@ -646,7 +646,7 @@ plumpcmcia_chip_io_free(pcmcia_chipset_handle_t pch, bus_space_unmap(pcihp->iot, pcihp->ioh, pcihp->size); } - DPRINTF("plumpcmcia_chip_io_free %#lx+%#x\n", pcihp->ioh, + DPRINTF("plumpcmcia_chip_io_free %#x+%#x\n", (unsigned)pcihp->ioh, (unsigned)pcihp->size); }