projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29b7818
)
Fix parser
author
Mark Spencer
<markster@digium.com>
Thu, 18 Mar 2004 06:04:22 +0000
(06:04 +0000)
committer
Mark Spencer
<markster@digium.com>
Thu, 18 Mar 2004 06:04:22 +0000
(06:04 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2455
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/iax2-parser.c
patch
|
blob
|
history
diff --git
a/channels/iax2-parser.c
b/channels/iax2-parser.c
index
156ed1d
..
9d31a8b
100755
(executable)
--- a/
channels/iax2-parser.c
+++ b/
channels/iax2-parser.c
@@
-64,7
+64,7
@@
static void dump_string(char *output, int maxlen, void *value, int len)
static void dump_int(char *output, int maxlen, void *value, int len)
{
if (len == sizeof(unsigned int))
- snprintf(output, maxlen, "%ld", (long)ntohl(*((unsigned int *)value)));
+ snprintf(output, maxlen, "%lu", (unsigned long)ntohl(*((unsigned int *)value)));
else
snprintf(output, maxlen, "Invalid INT");
}