From e8b21f28d61621624a74c40f3709835476a88293 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sat, 22 Dec 2012 10:36:29 +0100 Subject: [PATCH] Fix compilation on platforms with unsgined char --- src/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/script.c b/src/script.c index 66a15a7..2117aeb 100644 --- a/src/script.c +++ b/src/script.c @@ -24,7 +24,7 @@ #include "odhcp6c.h" static const char hexdigits[] = "0123456789abcdef"; -static const char hexvals[] = { +static const int8_t hexvals[] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -2, -2, -1, -1, -2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -2, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -- 2.25.1