diff --git a/tccelf.c b/tccelf.c index 83146fdd..1dcbc388 100644 --- a/tccelf.c +++ b/tccelf.c @@ -3706,7 +3706,7 @@ static int ld_add_file(TCCState *s1, const char filename[]) static int ld_add_file_list(TCCState *s1, const char *cmd, int as_needed) { - char filename[1024], libname[1024]; + char filename[1024], libname[1016]; int t, group, nblibs = 0, ret = 0; char **libs = NULL;