|
From: Tyrel D. <ty...@us...> - 2012-06-05 22:47:57
|
Update of /cvsroot/sblim/cmpi-devel
In directory vz-cvs-3.sog:/tmp/cvs-serv6037
Modified Files:
CmpiImpl.cpp NEWS
Log Message:
Fixed 3531596: CmpiData uses wrong union for unsigned data
Index: NEWS
===================================================================
RCS file: /cvsroot/sblim/cmpi-devel/NEWS,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- NEWS 5 Jun 2012 22:36:12 -0000 1.23
+++ NEWS 5 Jun 2012 22:47:55 -0000 1.24
@@ -5,6 +5,7 @@
- 3531598 several CmpiObjectPath methods leak memory
- 3531599 replace CMGetCharPtr with CMGetCharsPtr
- 3531597 returnData with char type fails
+- 3531596 CmpiData uses wrong union for unsigned data
New Features:
- 3531601 add CmpiString constructor for char data
Index: CmpiImpl.cpp
===================================================================
RCS file: /cvsroot/sblim/cmpi-devel/CmpiImpl.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- CmpiImpl.cpp 5 Jun 2012 22:36:11 -0000 1.15
+++ CmpiImpl.cpp 5 Jun 2012 22:47:55 -0000 1.16
@@ -858,25 +858,25 @@
CmpiData::CmpiData(CMPIUint8 d) {
_data.state=CMPI_goodValue;
- _data.value.sint8=d;
+ _data.value.uint8=d;
_data.type=CMPI_uint8;
}
CmpiData::CmpiData(CMPIUint16 d) {
_data.state=CMPI_goodValue;
- _data.value.sint16=d;
+ _data.value.uint16=d;
_data.type=CMPI_uint16;
}
CmpiData::CmpiData(CMPIUint32 d) {
_data.state=CMPI_goodValue;
- _data.value.sint32=d;
+ _data.value.uint32=d;
_data.type=CMPI_uint32;
}
CmpiData::CmpiData(CMPIUint64 d) {
_data.state=CMPI_goodValue;
- _data.value.sint64=d;
+ _data.value.uint64=d;
_data.type=CMPI_uint64;
}
|