Fixed small compilation warning in log.c