--- rpl/src/instructions_r4.c 2018/06/01 09:57:27 1.106 +++ rpl/src/instructions_r4.c 2019/02/03 14:40:52 1.110 @@ -1,7 +1,7 @@ /* ================================================================================ - RPL/2 (R) version 4.1.29 - Copyright (C) 1989-2018 Dr. BERTRAND Joël + RPL/2 (R) version 4.1.31 + Copyright (C) 1989-2019 Dr. BERTRAND Joël This file is part of RPL/2. @@ -3546,9 +3546,8 @@ instruction_read(struct_processus *s_eta do { - if ((tampon_lecture = malloc((((long long unsigned int) - longueur_questure) + 1) * - sizeof(unsigned char))) == NULL) + if ((tampon_lecture = malloc((((size_t) longueur_questure) + 1) + * sizeof(unsigned char))) == NULL) { (*s_etat_processus).erreur_systeme = d_es_allocation_memoire; @@ -3728,9 +3727,8 @@ instruction_read(struct_processus *s_eta return; } - if (((*s_objet_type).objet = malloc((long long unsigned int) - longueur_enregistrement * - sizeof(unsigned char))) == NULL) + if (((*s_objet_type).objet = malloc((size_t) longueur_enregistrement + * sizeof(unsigned char))) == NULL) { (*s_etat_processus).erreur_systeme = d_es_allocation_memoire; return;