From 20030e42b4d3f7283f6143641cb009a8dbf1da24 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Mon, 15 Jun 2009 11:07:34 +0200 Subject: Fixed wrong int->hex string conversion Upper case hex string values is used in the pymap.xml file. This should be improved so that type id is case insensitive. --- src/xmlpythonizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xmlpythonizer.c') diff --git a/src/xmlpythonizer.c b/src/xmlpythonizer.c index f6dfe15..bf3d323 100644 --- a/src/xmlpythonizer.c +++ b/src/xmlpythonizer.c @@ -487,7 +487,7 @@ ptzMAP *dmiMAP_ParseMappingXML_TypeID(xmlDoc *xmlmap, int typeid) { } memset(&typeid_s, 0, 16); - snprintf(typeid_s, 14, "0x%02x", typeid); + snprintf(typeid_s, 14, "0x%02X", typeid); // Find the section node = dmixml_FindNode(node, "TypeMapping"); -- cgit