~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NULL needs to be cast to void * when passed to a variadic function like
[sgt/putty]
/
unix
/
uxpty.c
diff --git
a/unix/uxpty.c
b/unix/uxpty.c
index
f91dc71
..
37a017d
100644
(file)
--- a/
unix/uxpty.c
+++ b/
unix/uxpty.c
@@
-813,7
+813,7
@@
static const char *pty_init(void *frontend, void **backend_handle, Config *cfg,
sprintf(shellname, "-%s", p);
} else
shellname = shell;
- execl(getenv("SHELL"), shellname, NULL);
+ execl(getenv("SHELL"), shellname,
(void *)
NULL);
}
/*