summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ne_uri.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ne_uri.c b/src/ne_uri.c
index 4d0ab91..ebe1c41 100644
--- a/src/ne_uri.c
+++ b/src/ne_uri.c
@@ -66,6 +66,7 @@
* ... except "+" which is PS */
#define OT (0x4000) /* others */
+/* UNUSED (0x8000) .. only remaining bit. */
#define URI_ALPHA (AL)
#define URI_DIGIT (DG)
@@ -92,7 +93,7 @@
/* any characters which should be path-escaped: */
#define URI_ESCAPE ((URI_GENDELIM & ~(FS)) | URI_SUBDELIM | OT | PC)
-static const unsigned int uri_chars[256] = {
+static const unsigned short uri_chars[256] = {
/* 0xXX x0 x2 x4 x6 x8 xA xC xE */
/* 0x */ OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT,
/* 1x */ OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT, OT,