summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkarl <karl>2004-12-20 03:19:15 +0000
committerkarl <karl>2004-12-20 03:19:15 +0000
commit257004eb37ece75ffb864035921b5dd8a9d3e24d (patch)
tree3c3c8edafb9b228f8a0e48baa322f1253c12b37f
parent89d5a70bcbd1724dd513b8c85be5e384d1b5b4cf (diff)
downloadtog-pegasus-PEP213_SIZE_OPTIMIZATIONS.zip
tog-pegasus-PEP213_SIZE_OPTIMIZATIONS.tar.gz
tog-pegasus-PEP213_SIZE_OPTIMIZATIONS.tar.xz
TITLE: Fix compile and link errors DESCRIPTION: Fix compile and link errors
-rw-r--r--src/Pegasus/CQL/CQLUtilities.cpp4
-rw-r--r--src/Pegasus/Common/Message.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/Pegasus/CQL/CQLUtilities.cpp b/src/Pegasus/CQL/CQLUtilities.cpp
index af8a377..e6fe5de 100644
--- a/src/Pegasus/CQL/CQLUtilities.cpp
+++ b/src/Pegasus/CQL/CQLUtilities.cpp
@@ -346,9 +346,11 @@ Real64 CQLUtilities::stringToReal64(const String &stringNum)
if (neg)
x = stringToSint64(stringNum);
else
- x = stringToUint64(stringNum);
+ //MEB: casted to long to supress compiler error
+ x = (Real64)(long)stringToUint64(stringNum);
return x;
}
+
// Skip optional first set of digits:
diff --git a/src/Pegasus/Common/Message.h b/src/Pegasus/Common/Message.h
index 9807adf..0f2cce0 100644
--- a/src/Pegasus/Common/Message.h
+++ b/src/Pegasus/Common/Message.h
@@ -530,7 +530,7 @@ PEGASUS_COMMON_LINKAGE const char* MessageTypeToString(Uint32 messageType);
stack of queue-ids of queues which they must be returned to. This provides
a light efficient stack for this purpose.
*/
-class QueueIdStack
+class PEGASUS_COMMON_LINKAGE QueueIdStack
{
public: