JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Well, I was confused. Damn state exams. Instead of discussing this shit I
[st.git] / st.c
diff --git a/st.c b/st.c
index 693739e..f967d2c 100644 (file)
--- a/st.c
+++ b/st.c
@@ -878,7 +878,7 @@ execsh(void) {
 
        DEFAULT(envshell, SHELL);
        putenv("TERM="TNAME);
-       args = opt_cmd ? opt_cmd : (char*[]){envshell, "-i", NULL};
+       args = opt_cmd ? opt_cmd : (char *[]){envshell, "-i", NULL};
        execvp(args[0], args);
        exit(EXIT_FAILURE);
 }