aboutsummaryrefslogtreecommitdiffstats
path: root/epan/asn1.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/asn1.c')
-rw-r--r--epan/asn1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/asn1.c b/epan/asn1.c
index c2f718d732..6581e42da7 100644
--- a/epan/asn1.c
+++ b/epan/asn1.c
@@ -30,6 +30,7 @@
#include <math.h>
#ifdef DEBUG
#include <stdio.h>
+#include <wsutil/ws_printf.h> /* ws_debug_printf */
#endif
#include <epan/packet.h>
@@ -272,7 +273,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, val);
+ ws_debug_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) {