From f6c8e8e45046915377cabc56de3645ea9c1d5ee5 Mon Sep 17 00:00:00 2001 From: Gavin Halliday Date: Tue, 6 Sep 2016 16:55:11 +0100 Subject: [PATCH] Fix problems compiling on power8 due to char defaulting to unsigned Signed-off-by: Gavin Halliday --- src/uuids.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uuids.cpp b/src/uuids.cpp index e891dcba3..940439277 100644 --- a/src/uuids.cpp +++ b/src/uuids.cpp @@ -121,7 +121,7 @@ CassError cass_uuid_from_string_n(const char* str, const char* pos = str; char buf[16]; - static const char hex_to_half_byte[256] = { + static const signed char hex_to_half_byte[256] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,