X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=blobdiff_plain;f=src%2Flib%2Furl.c;h=c586a2ac03b85739251ef10f84bc1f5ba01ba0f1;hp=b06cd4ca5bd7d7997a80c208408a51492f8bb0dd;hb=c1e20f2631a1249720e9c75d753eacfcb0f6c7b9;hpb=d2d694aef88fbdada5f2bf1bc9681e7014a06b87 diff --git a/src/lib/url.c b/src/lib/url.c index b06cd4c..c586a2a 100644 --- a/src/lib/url.c +++ b/src/lib/url.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2011 jeanfi@gmail.com + * Copyright (C) 2010-2014 jeanfi@gmail.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -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]; }