--- rpl/src/instructions_e1.c 2013/02/27 17:11:42 1.42 +++ rpl/src/instructions_e1.c 2013/03/20 17:11:44 1.43 @@ -475,7 +475,7 @@ instruction_else(struct_processus *s_eta unsigned char *instruction_majuscule; unsigned char *tampon; - unsigned long niveau; + integer8 niveau; void (*fonction)(); @@ -556,8 +556,9 @@ instruction_else(struct_processus *s_eta { if (strcmp(instruction_majuscule, "END") == 0) { - (*s_etat_processus).position_courante -= (strlen( - instruction_majuscule) + 1); + (*s_etat_processus).position_courante -= + (((integer8) strlen( + instruction_majuscule)) + 1); drapeau_fin = d_vrai; } else @@ -754,7 +755,7 @@ instruction_elseif(struct_processus *s_e unsigned char *instruction_majuscule; unsigned char *tampon; - unsigned long niveau; + integer8 niveau; void (*fonction)(); @@ -846,8 +847,9 @@ instruction_elseif(struct_processus *s_e { if (strcmp(instruction_majuscule, "END") == 0) { - (*s_etat_processus).position_courante -= (strlen( - instruction_majuscule) + 1); + (*s_etat_processus).position_courante -= + (((integer8) strlen( + instruction_majuscule)) + 1); drapeau_fin = d_vrai; } else @@ -1195,7 +1197,7 @@ instruction_eng(struct_processus *s_etat return; } - (*((logical8 *) (*s_objet).objet)) = + (*((logical8 *) (*s_objet).objet)) = (logical8) (*((integer8 *) (*s_objet_argument).objet)); i43 = test_cfsf(s_etat_processus, 43); @@ -1233,15 +1235,15 @@ instruction_eng(struct_processus *s_etat { if (valeur_binaire[i] == '0') { - cf(s_etat_processus, j++); + cf(s_etat_processus, (unsigned char) j++); } else { - sf(s_etat_processus, j++); + sf(s_etat_processus, (unsigned char) j++); } } - for(; j <= 56; cf(s_etat_processus, j++)); + for(; j <= 56; cf(s_etat_processus, (unsigned char) j++)); sf(s_etat_processus, 49); sf(s_etat_processus, 50);