aboutsummaryrefslogtreecommitdiffstats
path: root/asn1c/unber.c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2012-09-03 01:45:03 -0700
committerLev Walkin <vlm@lionet.info>2012-09-03 01:45:03 -0700
commitd7703cf7ce1dd5f2f6fb00a844963fb01e433dfc (patch)
treeb18accac760631cf161504a27217201317665c97 /asn1c/unber.c
parent271261813c0652a66311bc9d6b4def99f530bbe1 (diff)
remove warnings
Diffstat (limited to 'asn1c/unber.c')
-rw-r--r--asn1c/unber.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/asn1c/unber.c b/asn1c/unber.c
index 69736988..87337685 100644
--- a/asn1c/unber.c
+++ b/asn1c/unber.c
@@ -27,12 +27,15 @@
*/
#include "sys-common.h"
+#define ASN_DISABLE_PER_SUPPORT 1
+
#include <asn1parser.h> /* For static string tables */
#include <asn_application.h>
#include <constraints.c>
#include <ber_tlv_tag.c>
#include <ber_tlv_length.c>
+#include <INTEGER.c>
#include <OBJECT_IDENTIFIER.c>
#include <RELATIVE-OID.c>
#include <asn_codecs_prim.c>
@@ -392,7 +395,7 @@ print_TL(int fin, asn1c_integer_t offset, int level, int constr, ssize_t tlen, b
return;
}
- while(level-- > 0) printf(indent_bytes); /* Print indent */
+ while(level-- > 0) fputs(indent_bytes, stdout); /* Print indent */
printf(fin ? "</" : "<");
printf(constr ? ((tlv_len == -1) ? "I" : "C") : "P");