summaryrefslogtreecommitdiffstats
path: root/common/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/log.c')
-rw-r--r--common/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/log.c b/common/log.c
index eb9e9feb..1c532666 100644
--- a/common/log.c
+++ b/common/log.c
@@ -212,7 +212,7 @@ log_start(const char* progname, const char* logfile, const unsigned int loglvl,
}
else
{
- l_cfg->log_file = g_strdup((char*) logfile);
+ l_cfg->log_file = g_strdup(logfile);
}
/* if progname is NULL, we use a default name */
@@ -222,7 +222,7 @@ log_start(const char* progname, const char* logfile, const unsigned int loglvl,
}
else
{
- l_cfg->program_name = g_strdup((char*) progname);
+ l_cfg->program_name = g_strdup(progname);
}
/* setting log level */