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 | a8117a04f75af7bf82cefa0850254c183e15f995 (patch) | |
| tree | 700cdf1d9684fd61706b4a3eae290b7596306b95 /cpp/src/qpid/framing | |
| parent | 3ddbe154eb0de0f23bbae22b35410ee2070f32a6 (diff) | |
| download | qpid-python-a8117a04f75af7bf82cefa0850254c183e15f995.tar.gz | |
Changes to compile under SunCC 5.10
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881679 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/framing')
| -rw-r--r-- | cpp/src/qpid/framing/Uuid.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/qpid/framing/Uuid.cpp b/cpp/src/qpid/framing/Uuid.cpp index 71fa6a7329..f7c13ad8d4 100644 --- a/cpp/src/qpid/framing/Uuid.cpp +++ b/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() { |
