--- rpl/src/completion.c 2012/01/17 14:44:05 1.31 +++ rpl/src/completion.c 2014/07/17 08:07:16 1.49 @@ -1,7 +1,7 @@ /* ================================================================================ - RPL/2 (R) version 4.1.6 - Copyright (C) 1989-2012 Dr. BERTRAND Joël + RPL/2 (R) version 4.1.19 + Copyright (C) 1989-2014 Dr. BERTRAND Joël This file is part of RPL/2. @@ -38,7 +38,7 @@ void initialisation_completion() { - rl_attempted_completion_function = (CPPFunction *) completion_rpl; + rl_attempted_completion_function = (rl_completion_func_t *) completion_rpl; } @@ -56,7 +56,7 @@ generateur_commandes(char *texte, int et char *tampon; static int indice; - static int longueur; + static size_t longueur; # define COMPLETION # include "completion-conv.h"