From 87d8323d82690d297ed2ddbd822aef8146ba5d1c Mon Sep 17 00:00:00 2001
From: Alexei Sorokin <sor.alexei@meowr.ru>
Date: Sun, 18 Feb 2018 16:48:29 +0300
Subject: [PATCH] Fix format overflow in tl-parser
Bug: https://github.com/vysheng/tl-parser/pull/13
Bug-Debian: https://bugs.debian.org/916157
Last-Update: 2018-12-12
---
 tl-parser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: tl-parser-0.0.0+git20210107.1933e76f/tl-parser.c
===================================================================
--- tl-parser-0.0.0+git20210107.1933e76f.orig/tl-parser.c
+++ tl-parser-0.0.0+git20210107.1933e76f/tl-parser.c
@@ -1962,7 +1962,7 @@ struct tl_combinator_tree *tl_parse_args
       char *name = S->data;
       if (!name) {
         static char s[20];
-        sprintf (s, "%lld", lrand48 () * (1ll << 32) + lrand48 ());
+        sprintf (s, "%llu", lrand48 () * (1ll << 32) + lrand48 ());
         name = s;
       }
       struct tl_var *v = tl_add_var (name, S, tt);
