From 1bea9d03d3af5b92ac306b65f0a73ac0e640648b Mon Sep 17 00:00:00 2001 From: joe Date: Fri, 2 Nov 2018 13:50:08 +0000 Subject: * 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 --- src/ne_uri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.1