--- rpl/src/operations_atomiques.c 2013/05/21 12:10:43 1.46 +++ rpl/src/operations_atomiques.c 2017/08/21 16:35:32 1.66 @@ -1,7 +1,7 @@ /* ================================================================================ - RPL/2 (R) version 4.1.14 - Copyright (C) 1989-2013 Dr. BERTRAND Joël + RPL/2 (R) version 4.1.28 + Copyright (C) 1989-2017 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;