summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/RdFToI.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RdFToI.c b/src/RdFToI.c
index d7a6af1..35fe78e 100644
--- a/src/RdFToI.c
+++ b/src/RdFToI.c
@@ -154,7 +154,7 @@ xpmPipeThrough(fd, cmd, arg1, mode)
goto err;
if ( 0 == pid )
{
- execlp(cmd, cmd, arg1, NULL);
+ execlp(cmd, cmd, arg1, (char *)NULL);
perror(cmd);
goto err;
}