1.1 --- a/src/logging.c Thu Jun 21 16:00:37 2018 +0200 1.2 +++ b/src/logging.c Thu Jun 21 16:10:19 2018 +0200 1.3 @@ -71,12 +71,12 @@ 1.4 const unsigned int line, const char *format, ...) { 1.5 if (level <= logger->level) { 1.6 char msg[UCX_LOGGER_MSGMAX]; 1.7 - char *text; 1.8 + const char *text; 1.9 size_t k = 0; 1.10 size_t n; 1.11 1.12 if ((logger->mask & UCX_LOGGER_LEVEL) > 0) { 1.13 - text = (char*) ucx_map_int_get(logger->levels, level); 1.14 + text = (const char*) ucx_map_int_get(logger->levels, level); 1.15 if (!text) { 1.16 text = "[UNKNOWN]"; 1.17 }