--- rpl/src/instructions_s8.c 2013/02/27 17:11:44 1.56 +++ rpl/src/instructions_s8.c 2013/03/21 11:30:30 1.57 @@ -102,7 +102,7 @@ instruction_splash(struct_processus *s_e return; } - encart(s_etat_processus, (unsigned long) (attente * 1E6)); + encart(s_etat_processus, (integer8) (attente * 1E6)); } else { @@ -1165,10 +1165,10 @@ instruction_sqlquery(struct_processus *s { # ifdef POSTGRESQL_SUPPORT - unsigned int i; - unsigned int j; - unsigned int nombre_colonnes; - unsigned int nombre_lignes; + int i; + int j; + int nombre_colonnes; + int nombre_lignes; logical1 presence_resultat; @@ -1343,8 +1343,8 @@ instruction_sqlquery(struct_processus *s else { if (((*(*l_element_courant_ligne).donnee).objet - = malloc((PQgetlength( - resultat_postgresql, i, j) + 1) * + = malloc(((size_t) (PQgetlength( + resultat_postgresql, i, j) + 1)) * sizeof(unsigned char))) == NULL) { (*s_etat_processus).erreur_systeme = @@ -1427,7 +1427,9 @@ instruction_sqlquery(struct_processus *s const char *queue; const unsigned char *resultat; + int i; int ios; + int nombre_colonnes; logical1 presence_resultat; @@ -1440,13 +1442,10 @@ instruction_sqlquery(struct_processus *s struct timespec attente; - unsigned int i; - unsigned int nombre_colonnes; - if (sqlite3_prepare_v2((*((struct_connecteur_sql *) (*s_objet_1).objet)).descripteur.sqlite, (unsigned char *) (*s_objet_2).objet, - strlen((unsigned char *) (*s_objet_2).objet), + (int) strlen((unsigned char *) (*s_objet_2).objet), &ppStmt, &queue) != SQLITE_OK) { if (connexion_permanente == d_faux)