diff options
author | Andrew Stitcher <astitcher@apache.org> | 2009-11-18 06:11:59 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2009-11-18 06:11:59 +0000 |
commit | 84ecddf92e1175e7631e55cdc860f5d9e12bf560 (patch) | |
tree | 9cbe2f9a78755299779c5feb7b6f901d4a03508f /qpid/cpp/src/qpid/framing | |
parent | 15f07c69a3fc636a5d2e5ab463d939cc53b9fc65 (diff) | |
download | qpid-python-84ecddf92e1175e7631e55cdc860f5d9e12bf560.tar.gz |
Changes to compile under SunCC 5.10
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@881679 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qpid/framing')
-rw-r--r-- | qpid/cpp/src/qpid/framing/Uuid.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/framing/Uuid.cpp b/qpid/cpp/src/qpid/framing/Uuid.cpp index 71fa6a7329..f7c13ad8d4 100644 --- a/qpid/cpp/src/qpid/framing/Uuid.cpp +++ b/qpid/cpp/src/qpid/framing/Uuid.cpp @@ -43,7 +43,9 @@ Uuid::Uuid(const uint8_t* data) { } void Uuid::assign(const uint8_t* data) { - uuid_copy(c_array(), data); + // This const cast is for Solaris which has a + // uuid_copy that takes a non const 2nd argument + uuid_copy(c_array(), const_cast<uint8_t*>(data)); } void Uuid::generate() { |