diff options
author | dos-reis <gdr@axiomatics.org> | 2011-06-15 16:01:25 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2011-06-15 16:01:25 +0000 |
commit | 225a032452ab68d3a227bf5cc5769553a9a09fa1 (patch) | |
tree | 204e7fe30da30d2cb69481743fbee8b2aa04b826 | |
parent | 7ee6862a34256d39d0e20f06c8885f49ee1ece35 (diff) | |
download | open-axiom-225a032452ab68d3a227bf5cc5769553a9a09fa1.tar.gz |
* lib/fnct_key.c (handle_function_key): Explicitly cast the
null pointer sentinel to a pointer type.
-rw-r--r-- | src/ChangeLog | 5 | ||||
-rw-r--r-- | src/lib/fnct_key.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 69f49ec6..05e121b9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,10 @@ 2011-06-15 Gabriel Dos Reis <gdr@cs.tamu.edu> + * lib/fnct_key.c (handle_function_key): Explicitly cast the + null pointer sentinel to a pointer type. + +2011-06-15 Gabriel Dos Reis <gdr@cs.tamu.edu> + * sman/sman.c: utils.h no longer exists. 2011-06-11 Gabriel Dos Reis <gdr@cs.tamu.edu> 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); |