diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2015-10-09 15:45:41 +0200 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2015-10-09 18:45:26 +0000 |
commit | 626c61c1266ae7b961810dc87c2f75ee409d7c7b (patch) | |
tree | 40cd222e71a05017d21a32a07f775bf6d689233c /epan/asn1.c | |
parent | 38ba49e220dfaedb7072e8f481c8fe8169428c9d (diff) |
asn1.c: fix printf arguments used with DEBUG flag
Bug: 11581
Change-Id: If960e45d5ed71abb3cadcb6dd83832b9098e11a7
Reviewed-on: https://code.wireshark.org/review/10904
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/asn1.c')
-rw-r--r-- | epan/asn1.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/asn1.c b/epan/asn1.c index 7afa107192..c2f718d732 100644 --- a/epan/asn1.c +++ b/epan/asn1.c @@ -28,6 +28,9 @@ #include <string.h> #include <stdlib.h> #include <math.h> +#ifdef DEBUG +#include <stdio.h> +#endif #include <epan/packet.h> @@ -269,7 +272,7 @@ double asn1_get_real(const guint8 *real_ptr, gint len) { } val = (double) S * N * pow(2, F) * pow(B, E); #ifdef DEBUG - printf("S = %d, N = %lu, F = %u, B = %u, E = %d -> %f\n", S, N, F, B, E, Eneg, val); + printf("S = %d, N = %lu, F = %u, B = %u, E = %d -> %f\n", S, N, F, B, E, val); #endif } else if (octet & 0x40) { /* SpecialRealValue */ switch (octet & 0x3F) { |