python-dmidecode
python-dmidecode copied to clipboard
Fix bogus invocation of _pyReturnError() in __dmidecode_xml_getsection()
Fixes the following error:
src/dmidecodemodule.c: In function ‘__dmidecode_xml_getsection’: src/dmidecodemodule.c:482:90: error: passing argument 3 of ‘_pyReturnError’ makes integer from pointer without a cast [-Wint-conversion] 482 | _pyReturnError(PyExc_RuntimeError, "Invalid type id '%s' -- %s", typeid, err); | ^~~~~~ | | |