python-dmidecode icon indicating copy to clipboard operation
python-dmidecode copied to clipboard

Fix bogus invocation of _pyReturnError() in __dmidecode_xml_getsection()

Open glaubitz opened this issue 8 months ago • 5 comments

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); | ^~~~~~ | | |

glaubitz avatar Jun 06 '24 10:06 glaubitz