aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-06-15 16:01:25 +0000
committerdos-reis <gdr@axiomatics.org>2011-06-15 16:01:25 +0000
commit225a032452ab68d3a227bf5cc5769553a9a09fa1 (patch)
tree204e7fe30da30d2cb69481743fbee8b2aa04b826 /src/lib
parent7ee6862a34256d39d0e20f06c8885f49ee1ece35 (diff)
downloadopen-axiom-225a032452ab68d3a227bf5cc5769553a9a09fa1.tar.gz
* lib/fnct_key.c (handle_function_key): Explicitly cast the
null pointer sentinel to a pointer type.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/fnct_key.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/fnct_key.c b/src/lib/fnct_key.c
index 69498ec0..09083999 100644
--- a/src/lib/fnct_key.c
+++ b/src/lib/fnct_key.c
@@ -313,7 +313,7 @@ handle_function_key(int key,int chann)
case 0:
execlp((function_key[12]).str,
(function_key[12]).str,
- editorfilename, NULL);
+ editorfilename, (char*) NULL);
perror("Returned from exec");
exit(0);