Skip to content

Commit

Permalink
Fix format overflow in tl-parser
Browse files Browse the repository at this point in the history
  • Loading branch information
XRevan86 committed Feb 18, 2018
1 parent f49077d commit 87d8323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tl-parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -1904,7 +1904,7 @@ struct tl_combinator_tree *tl_parse_args134 (struct tree *T) {
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);
Expand Down

0 comments on commit 87d8323

Please sign in to comment.