diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2017-02-22 20:32:29 -0800 |
---|---|---|
committer | jsorg71 <jay.sorg@gmail.com> | 2017-02-22 20:39:56 -0800 |
commit | e0ac84aaa411feae63b3cebd49a4b54ee7086e1f (patch) | |
tree | 0c479e99364e076d2f95097b04fca89b2c22b76c /common | |
parent | c5e9bc7851764de1a6c9d893b4e47dcd73cac43f (diff) | |
download | xrdp-proprietary-e0ac84aaa411feae63b3cebd49a4b54ee7086e1f.tar.gz xrdp-proprietary-e0ac84aaa411feae63b3cebd49a4b54ee7086e1f.zip |
change some casts to long long
Diffstat (limited to 'common')
-rw-r--r-- | common/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/log.c b/common/log.c index 103aae80..c8703df8 100644 --- a/common/log.c +++ b/common/log.c @@ -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) |