--- rpl/src/operations_atomiques.c 2015/01/05 15:32:24 1.54 +++ rpl/src/operations_atomiques.c 2018/12/24 15:56:36 1.68 @@ -1,7 +1,7 @@ /* ================================================================================ - RPL/2 (R) version 4.1.20 - Copyright (C) 1989-2015 Dr. BERTRAND Joël + RPL/2 (R) version 4.1.30 + Copyright (C) 1989-2018 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;