# HG changeset patch # User Paper <37962225+mrpapersonic@users.noreply.github.com> # Date 1653042450 14400 # Node ID 9b309701420e39f0998ef0bf992f458e030db063 # Parent d873a04165f9b7d09218ecb634270782f487de2e welcome to Ctec and will it compile? that is the question diff -r d873a04165f9 -r 9b309701420e src/main.c --- a/src/main.c Fri May 13 00:48:11 2022 -0400 +++ b/src/main.c Fri May 20 06:27:30 2022 -0400 @@ -149,8 +149,9 @@ } fflush(stdout); if (strcmp(args.output, " ") == 0) { /* string manipulation hell */ - char temp[256] = (char*)malloc(sizeof(char)*256); - char str_version[16] = {}; + char temp* = (char*)malloc(sizeof(char)*256); + temp[0] = '\0'; + char str_version[16]; sprintf(str_version, "V%d", args.version); strncat(temp, str_version, 2); strncat(temp, "_", 1);