--- rpl/src/instructions_r4.c 2018/12/24 15:56:23 1.107 +++ rpl/src/instructions_r4.c 2023/08/07 17:42:57 1.116 @@ -1,7 +1,7 @@ /* ================================================================================ - RPL/2 (R) version 4.1.30 - Copyright (C) 1989-2018 Dr. BERTRAND Joël + RPL/2 (R) version 4.1.35 + Copyright (C) 1989-2023 Dr. BERTRAND Joël This file is part of RPL/2. @@ -2120,7 +2120,8 @@ instruction_read(struct_processus *s_eta if (sscanf(&(format_chaine[8]), "%lld", &longueur) != 1) { - liberation(s_etat_processus, s_objet_argument_1); + liberation(s_etat_processus, + s_objet_argument_1); liberation(s_etat_processus, s_objet_resultat); free(format_chaine); @@ -3546,9 +3547,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 +3728,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;