From: Wouter Wijngaards Date: Thu, 15 Mar 2007 10:37:00 +0000 (+0000) Subject: Remove warning on FreeBSD4. X-Git-Tag: release-0.2~46 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5d92f93581df3e2d2596cd6d588604ed7472941;p=thirdparty%2Funbound.git Remove warning on FreeBSD4. git-svn-id: file:///svn/unbound/trunk@181 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/util/log.c b/util/log.c index 146fa8fa7..19361db71 100644 --- a/util/log.c +++ b/util/log.c @@ -171,7 +171,7 @@ log_hex(const char* msg, void* data, size_t length) { size_t i; uint8_t* data8 = (uint8_t*)data; - const char const* hexchar = "0123456789ABCDEF"; + const char* hexchar = "0123456789ABCDEF"; char* buf = malloc(length*2 + 1); /* alloc hex chars + \0 */ for(i=0; i> 4 ];