summaryrefslogtreecommitdiff
path: root/lib/parser_aux.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/parser_aux.c')
-rw-r--r--lib/parser_aux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parser_aux.c b/lib/parser_aux.c
index 7313eeb..b4a7370 100644
--- a/lib/parser_aux.c
+++ b/lib/parser_aux.c
@@ -560,7 +560,7 @@ _asn1_ltostr (int64_t v, char str[LTOSTR_MAX_SIZE])
{
str[0] = '-';
start = 1;
- val = -v;
+ val = -((uint64_t)v);
}
else
{