summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Pegasus/Common/CIMBuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Pegasus/Common/CIMBuffer.h b/src/Pegasus/Common/CIMBuffer.h
index 0ecdcd0..f671096 100644
--- a/src/Pegasus/Common/CIMBuffer.h
+++ b/src/Pegasus/Common/CIMBuffer.h
@@ -1202,7 +1202,7 @@ private:
Real64 _swapReal64(Real64 x)
{
- return _swapUint64(*((Uint64*)(void*)&x));
+ return _swapSint64(*((Sint64*)(void*)&x));
}
void _swapUint16Data(Uint16* p, Uint32 n)