--- rpl/src/completion.c 2011/04/11 13:02:13 1.16.2.1 +++ rpl/src/completion.c 2015/01/05 15:32:12 1.51 @@ -1,7 +1,7 @@ /* ================================================================================ - RPL/2 (R) version 4.0.22 - Copyright (C) 1989-2011 Dr. BERTRAND Joël + RPL/2 (R) version 4.1.20 + Copyright (C) 1989-2015 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"