summaryrefslogtreecommitdiff
path: root/cpp/src/qmf/Hash.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qmf/Hash.h')
-rw-r--r--cpp/src/qmf/Hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qmf/Hash.h b/cpp/src/qmf/Hash.h
index e1eff84117..4bd76832aa 100644
--- a/cpp/src/qmf/Hash.h
+++ b/cpp/src/qmf/Hash.h
@@ -29,7 +29,7 @@ namespace qmf {
class Hash {
public:
Hash();
- qpid::types::Uuid asUuid() const { return qpid::types::Uuid((unsigned char*) data); }
+ qpid::types::Uuid asUuid() const { return qpid::types::Uuid((const unsigned char*) data); }
void update(const char* s, uint32_t len);
void update(uint8_t v) { update((char*) &v, sizeof(v)); }
void update(uint32_t v) { update((char*) &v, sizeof(v)); }