diff options
Diffstat (limited to 'common/log.c')
-rw-r--r-- | common/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/log.c b/common/log.c index 86935acd..103aae80 100644 --- a/common/log.c +++ b/common/log.c @@ -592,7 +592,7 @@ log_message(const enum logLevels lvl, const char *msg, ...) /* log to syslog*/ /* %s fix compiler warning 'not a string literal' */ syslog(internal_log_xrdp2syslog(lvl), "(%d)(%ld)%s", g_getpid(), - tc_get_threadid(), buff + 20); + (long) tc_get_threadid(), buff + 20); } if (lvl <= g_staticLogConfig->log_level) |