diff --git a/src/log.c b/src/log.c index 80d044c..d803e47 100644 --- a/src/log.c +++ b/src/log.c @@ -216,7 +216,7 @@ send_stored_logs (void) for (i = 0; (ssize_t)i != vector_length (log_message_storage); ++i) { - string = vector_getentry (log_message_storage, i, NULL); + string = (char *)vector_getentry (log_message_storage, i, NULL); ptr = strchr (string, ' ') + 1; level = atoi (string);