Fix phexdigits[255] is undefined.
authorDwayne C. Litzenberger <dlitz@dlitz.net>
Mon, 16 Apr 2012 05:31:38 +0000 (01:31 -0400)
committerLuke Dashjr <luke-jr+git@utopios.org>
Sun, 22 Apr 2012 13:26:30 +0000 (09:26 -0400)
src/util.cpp

index 5ba6504..b6b4ee6 100644 (file)
@@ -418,7 +418,7 @@ static char phexdigit[256] =
   0,1,2,3,4,5,6,7,8,9,-1,-1,-1,-1,-1,-1,
   -1,0xa,0xb,0xc,0xd,0xe,0xf,-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,0xa,0xb,0xc,0xd,0xe,0xf,-1,-1,-1,-1,-1,-1,-1,-1,-1
+  -1,0xa,0xb,0xc,0xd,0xe,0xf,-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,-1,-1,-1,-1,-1,-1,-1,-1,-1,