From e8c99cbad540f5add9910fbfd20f7eedea63d8e4 Mon Sep 17 00:00:00 2001 From: sezero Date: Fri, 3 Aug 2018 18:58:45 +0300 Subject: [PATCH] swlibs/newpci/pcilib/fxpci.c (pciGetErrorString): unsigned casts to fix warning --- swlibs/newpci/pcilib/fxpci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swlibs/newpci/pcilib/fxpci.c b/swlibs/newpci/pcilib/fxpci.c index 344a2f1..9961884 100644 --- a/swlibs/newpci/pcilib/fxpci.c +++ b/swlibs/newpci/pcilib/fxpci.c @@ -377,7 +377,7 @@ pciGetErrorString( void ) if (pciErrorCode == PCI_ERR_WRONGVXD) { sprintf(vxdErrString, "Expected VXD version V%d.%d, got V%u.%u\n", FX_MAJOR_VER, FX_MINOR_VER, - BYTE1(pciVxdVer), BYTE0(pciVxdVer)); + (unsigned) BYTE1(pciVxdVer), (unsigned) BYTE0(pciVxdVer)); return vxdErrString; } return pciError[pciErrorCode].string;