Skip to content

Commit f6c8e8e

Browse files
committed
Fix problems compiling on power8 due to char defaulting to unsigned
Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
1 parent b3bccc5 commit f6c8e8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uuids.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ CassError cass_uuid_from_string_n(const char* str,
121121
const char* pos = str;
122122
char buf[16];
123123

124-
static const char hex_to_half_byte[256] = {
124+
static const signed char hex_to_half_byte[256] = {
125125
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
126126
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
127127
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,

0 commit comments

Comments
 (0)