From: Adrian S. <a3s...@us...> - 2005-04-13 15:07:01
|
Update of /cvsroot/sblim/sfcb In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23726 Modified Files: cimXmlGen.c Log Message: fixing numeric parsing for CMPIObjectPathes - could be related to 1181968 Index: cimXmlGen.c =================================================================== RCS file: /cvsroot/sblim/sfcb/cimXmlGen.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- cimXmlGen.c 21 Mar 2005 14:22:38 -0000 1.3 +++ cimXmlGen.c 13 Apr 2005 15:06:52 -0000 1.4 @@ -118,10 +118,10 @@ else if (strcasecmp(type, "numeric") == 0) { if (value[0] == '+' || value[0] == '-') { *typ = CMPI_sint64; - sscanf(value, "%llu", &val->uint64); + sscanf(value, "%lld", &val->uint64); } else { - sscanf(value, "%lld", &val->sint64); + sscanf(value, "%llu", &val->sint64); *typ = CMPI_uint64; } return val; |