change some casts to long long

This commit is contained in:
Jay Sorg
2017-02-22 20:32:29 -08:00
committed by jsorg71
parent c5e9bc7851
commit e0ac84aaa4
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -591,8 +591,8 @@ 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(),
(long) tc_get_threadid(), buff + 20);
syslog(internal_log_xrdp2syslog(lvl), "(%d)(%lld)%s", g_getpid(),
(long long) tc_get_threadid(), buff + 20);
}
if (lvl <= g_staticLogConfig->log_level)