diff options
author | Benny Prijono <bennylp@teluu.com> | 2007-05-11 15:14:34 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2007-05-11 15:14:34 +0000 |
commit | 208776ec0c5c77623637a28b88391067df24e682 (patch) | |
tree | d474825faeaa48869df57b5470a8ba417ebf4489 /pjlib/src/pj/log.c | |
parent | b4e01cefd4f354128396e85f205ccfa0879bc319 (diff) |
HUGE changeset to make the rest of the libraries compile with C++ mode
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1266 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src/pj/log.c')
-rw-r--r-- | pjlib/src/pj/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjlib/src/pj/log.c b/pjlib/src/pj/log.c index bc395546..518854c4 100644 --- a/pjlib/src/pj/log.c +++ b/pjlib/src/pj/log.c @@ -146,7 +146,7 @@ PJ_DEF(void) pj_log( const char *sender, int level, "<logging error: msg too long>"); } len = len + print_len; - if (len > 0 && len < sizeof(log_buffer)-2) { + if (len > 0 && len < (int)sizeof(log_buffer)-2) { if (log_decor & PJ_LOG_HAS_CR) { log_buffer[len++] = '\r'; } |