swlibs/newpci/pcilib/fxpci.c (pciGetErrorString): unsigned casts to fix warning

This commit is contained in:
sezero
2018-08-03 18:58:45 +03:00
parent 4092b17053
commit e8c99cbad5

View File

@@ -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;