diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-06-05 18:39:41 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-06-06 01:40:08 +0000 |
commit | a365fb8316cf797f89b2d4c5156fc2198ee140f7 (patch) | |
tree | e9c605a383e7606886650ebfef7af3e1c268a0c0 /epan/except.c | |
parent | 1736a1bcc6bb6b51df23bdfe7a44955cb5d88546 (diff) |
Print unsigned long values with %lu, not %ld.
Change-Id: Ic437f5ec918c1cd4d39eb27e0a4fafb2a2f4b244
Reviewed-on: https://code.wireshark.org/review/8782
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/except.c')
-rw-r--r-- | epan/except.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/except.c b/epan/except.c index 2e79f902c0..de6021c362 100644 --- a/epan/except.c +++ b/epan/except.c @@ -422,10 +422,10 @@ int main(int argc, char **argv) /* inner catch */ msg = except_message(ex); if (msg == NULL) { - printf("caught exception (inner): s=%ld, c=%ld\n", + printf("caught exception (inner): s=%lu, c=%lu\n", except_group(ex), except_code(ex)); } else { - printf("caught exception (inner): \"%s\", s=%ld, c=%ld\n", + printf("caught exception (inner): \"%s\", s=%lu, c=%lu\n", msg, except_group(ex), except_code(ex)); } except_rethrow(ex); @@ -435,10 +435,10 @@ int main(int argc, char **argv) /* outer catch */ msg = except_message(ex); if (msg == NULL) { - printf("caught exception (outer): s=%ld, c=%ld\n", + printf("caught exception (outer): s=%lu, c=%lu\n", except_group(ex), except_code(ex)); } else { - printf("caught exception (outer): \"%s\", s=%ld, c=%ld\n", + printf("caught exception (outer): \"%s\", s=%lu, c=%lu\n", except_message(ex), except_group(ex), except_code(ex)); } } |