Skip to content
Snippets Groups Projects
Commit 31999d15 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Fixed warning.

Rev: src/modules/readline/readlinemod.c:1.10
parent abb54d3b
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@
#include "pike_macros.h"
#include "threads.h"
RCSID("$Id: readlinemod.c,v 1.9 1998/04/26 11:47:08 hubbe Exp $");
RCSID("$Id: readlinemod.c,v 1.10 1998/09/06 17:30:07 grubba Exp $");
#include <errno.h>
......@@ -157,7 +157,7 @@ retry:
void pike_module_init(void)
{
rl_completion_entry_function = (void *)my_rl_complete;
rl_completion_entry_function = (int (*)())my_rl_complete;
add_function_constant("_module_value",f_readline,
"function(string,void|function:string)",
OPT_SIDE_EFFECT);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment