summaryrefslogtreecommitdiff
path: root/lib/parser_aux.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2016-07-08 08:29:40 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-07-08 08:29:40 +0200
commit6bb6a1a10fdf01c618be5bde0beeb65a1c90f866 (patch)
treefbf2d6e2f5ad5061ce383756c05dc183c577b20d /lib/parser_aux.c
parent0e7337b3c074048bffb2d92cfc0a53072653ea52 (diff)
downloadlibtasn1-6bb6a1a10fdf01c618be5bde0beeb65a1c90f866.tar.gz
encode and decode object identifiers with elements larger than 2^32 in 32-bit systems
Diffstat (limited to 'lib/parser_aux.c')
-rw-r--r--lib/parser_aux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/parser_aux.c b/lib/parser_aux.c
index 52700c6..2285b20 100644
--- a/lib/parser_aux.c
+++ b/lib/parser_aux.c
@@ -549,9 +549,9 @@ _asn1_delete_list_and_nodes (void)
char *
-_asn1_ltostr (long v, char str[LTOSTR_MAX_SIZE])
+_asn1_ltostr (int64_t v, char str[LTOSTR_MAX_SIZE])
{
- long d, r;
+ int64_t d, r;
char temp[LTOSTR_MAX_SIZE];
int count, k, start;