--- rpl/src/operations_atomiques.c 2015/06/08 14:11:44 1.56 +++ rpl/src/operations_atomiques.c 2019/01/01 09:03:14 1.69 @@ -1,7 +1,7 @@ /* ================================================================================ - RPL/2 (R) version 4.1.22 - Copyright (C) 1989-2015 Dr. BERTRAND Joël + RPL/2 (R) version 4.1.30 + Copyright (C) 1989-2019 Dr. BERTRAND Joël This file is part of RPL/2. @@ -88,8 +88,8 @@ read_atomic(struct_processus *s_etat_pro if (longueur_lue != 0) { - if (longueur_lue < (longueur_residuelle > PIPE_BUF) - ? PIPE_BUF : longueur_residuelle) + if (longueur_lue < (ssize_t) ((longueur_residuelle > PIPE_BUF) + ? PIPE_BUF : longueur_residuelle)) { pointeur += longueur_lue; longueur_residuelle -= (size_t) longueur_lue;