summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2018-11-02 13:50:08 +0000
committerjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2018-11-02 13:50:08 +0000
commit1bea9d03d3af5b92ac306b65f0a73ac0e640648b (patch)
treec3c6baf1e1233b34c9b6f0c74d77be23f182cb90
parentaa6dd6bfb4c934732a21b242bebdcb9fe7c0d82d (diff)
downloadneon-1bea9d03d3af5b92ac306b65f0a73ac0e640648b.tar.gz
* src/ne_uri.c: Save a few bytes by using shorts for uri_chars lookup table.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@2040 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
-rw-r--r--src/ne_uri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ne_uri.c b/src/ne_uri.c
index 4d0ab91..3927e75 100644
--- a/src/ne_uri.c
+++ b/src/ne_uri.c
@@ -92,7 +92,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,