--- rpl/src/instructions_s9.c 2012/05/21 17:25:45 1.49 +++ rpl/src/instructions_s9.c 2012/07/03 13:56:32 1.50 @@ -1323,7 +1323,7 @@ instruction_swi(struct_processus *s_etat } else { - tid = -1; + tid = (pthread_t) -1; attente.tv_sec = 0; attente.tv_nsec = GRANULARITE_us * 1000; @@ -1624,7 +1624,7 @@ instruction_swi(struct_processus *s_etat } else { - tid = -3; + tid = (pthread_t) -3; # ifndef SEMAPHORES_NOMMES if (sem_post(&((*s_etat_processus).semaphore_fork)) != 0)