diff options
author | Matthew Jordan <mjordan@digium.com> | 2013-10-09 11:02:04 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2013-10-09 11:02:04 +0000 |
commit | fcf6c846662390afa501d9e5432e6d08bcdc82da (patch) | |
tree | 937e8ee6379df19c16ad0f0d9fbe29a12d8dd9d0 /res/res_pjsip_header_funcs.c | |
parent | b36ef0b412165500f8a14d2f1e29c676a72402af (diff) |
Use 'z' as the format specifier for size_t
Using 'lu' will produce a compiler warning for some versions of gcc and on some
architectures. 'z' should be portable as a format specifier for size_t.
........
Merged revisions 400812 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@400813 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pjsip_header_funcs.c')
-rw-r--r-- | res/res_pjsip_header_funcs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_pjsip_header_funcs.c b/res/res_pjsip_header_funcs.c index 90ca074d0..7425d8f59 100644 --- a/res/res_pjsip_header_funcs.c +++ b/res/res_pjsip_header_funcs.c @@ -294,7 +294,7 @@ static int read_header(void *obj) plen = strlen(p); if (plen + 1 > data->len) { ast_log(AST_LOG_ERROR, - "Buffer isn't big enough to hold header value. %lu > %lu\n", plen + 1, + "Buffer isn't big enough to hold header value. %zu > %zu\n", plen + 1, data->len); return -1; } |