summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2005-10-03 19:53:58 +0000
committerMatthieu Herrb <matthieu.herrb@laas.fr>2005-10-03 19:53:58 +0000
commit08c43c5f1f851c1acad360a28767670dc62d8a66 (patch)
treeadfd7b2129c01e054932b4f5d157e8cc50791369
parent5ecad7c12c3104d653972385f548e3f86532cbe3 (diff)
Last argument of variable parameter list needs to be casted to a pointerXORG-6_8_99_903XORG-6_8_99_902XORG-6_8_99_901
type.
-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;
}