X-Git-Url: https://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Furl.c;h=8355958c556b8a688662e88f96b2913a6de4c030;hb=38636e4790fa719e5e6e9cad67afa7731f9252a2;hp=b06cd4ca5bd7d7997a80c208408a51492f8bb0dd;hpb=b150b432264680d90fc76049ba0b4cb1adf60164;p=psensor.git diff --git a/src/lib/url.c b/src/lib/url.c index b06cd4c..8355958 100644 --- a/src/lib/url.c +++ b/src/lib/url.c @@ -40,7 +40,7 @@ char *url_normalize(const char *url) static char to_hex(char code) { - static char hex[] = "0123456789abcdef"; + static const char hex[] = "0123456789abcdef"; return hex[code & 0x0f]; }