From 225a032452ab68d3a227bf5cc5769553a9a09fa1 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Wed, 15 Jun 2011 16:01:25 +0000 Subject: * lib/fnct_key.c (handle_function_key): Explicitly cast the null pointer sentinel to a pointer type. --- src/ChangeLog | 5 +++++ src/lib/fnct_key.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 69f49ec6..05e121b9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-06-15 Gabriel Dos Reis + + * lib/fnct_key.c (handle_function_key): Explicitly cast the + null pointer sentinel to a pointer type. + 2011-06-15 Gabriel Dos Reis * sman/sman.c: utils.h no longer exists. 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); -- cgit v1.2.3