--- rpl/src/instructions_w1.c 2013/03/21 11:30:30 1.79 +++ rpl/src/instructions_w1.c 2013/03/25 14:42:31 1.81 @@ -245,7 +245,7 @@ instruction_wait(struct_processus *s_eta return; } - temporisation.tv_sec = (__time_t) floor((double) attente); + temporisation.tv_sec = (time_t) floor((double) attente); temporisation.tv_nsec = (long) ((attente - ((real8) temporisation.tv_sec)) * (integer8) 1000000000); @@ -1886,7 +1886,7 @@ instruction_write(struct_processus *s_et memset(&adresse_ipv4, 0, sizeof(adresse_ipv4)); adresse_ipv4.sin_family = AF_INET; - adresse_ipv4.sin_port = htons(port); + adresse_ipv4.sin_port = htons((uint16_t) port); adresse_ipv4.sin_addr.s_addr = htonl(calcul_adresse); # ifndef SEMAPHORES_NOMMES