aboutsummaryrefslogtreecommitdiffstats
path: root/ext/pty/pty.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pty/pty.c')
-rw-r--r--ext/pty/pty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pty/pty.c b/ext/pty/pty.c
index ef357ace5c..5f73d286f7 100644
--- a/ext/pty/pty.c
+++ b/ext/pty/pty.c
@@ -196,7 +196,7 @@ establishShell(int argc, VALUE *argv, struct pty_info *info)
int status;
if (argc == 0) {
- char *shellname;
+ const char *shellname;
if ((p = getenv("SHELL")) != NULL) {
shellname = p;