diff options
Diffstat (limited to 'epan/asn1.c')
-rw-r--r-- | epan/asn1.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/epan/asn1.c b/epan/asn1.c index d3d9fc02f3..5d118479aa 100644 --- a/epan/asn1.c +++ b/epan/asn1.c @@ -66,10 +66,6 @@ #include <glib.h> -#ifdef NEED_SNPRINTF_H -# include "snprintf.h" -#endif - #include <epan/tvbuff.h> #include <epan/asn1.h> @@ -1077,7 +1073,7 @@ asn1_err_to_str(int err) break; default: - snprintf(errstrbuf, sizeof errstrbuf, "Unknown error (%d)", err); + g_snprintf(errstrbuf, sizeof errstrbuf, "Unknown error (%d)", err); errstr = errstrbuf; break; } |