From 5985dbbd850eaf406690b710ef52dd171e52e2e9 Mon Sep 17 00:00:00 2001 From: lpaucot_uclouvain <laurent.paucot@student.uclouvain.be> Date: Tue, 21 Apr 2020 11:40:22 +0200 Subject: [PATCH] test --- Projet_M2/run.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Projet_M2/run.h b/Projet_M2/run.h index 709271b..1abc277 100644 --- a/Projet_M2/run.h +++ b/Projet_M2/run.h @@ -16,7 +16,7 @@ typedef struct queue{ }queue_t; struct buffer_rc{ - char *tab[8]; + char **tab; int size; int len; int head; @@ -25,7 +25,7 @@ struct buffer_rc{ struct buffer_cw { - queue_t *tab[8]; + queue_t **tab; int size; int len; int head; @@ -51,7 +51,7 @@ char *get_from_buffer_1(void); void put_in_buffer_2(struct queue *ptr); queue_t *get_from_buffer_2(void); -int is_div(unsigned long long number, long i); +int is_div(unsigned long long number, unsigned long long i); int is_prime(unsigned long long number); void enqueue(queue_t* q, unsigned long long val); -- GitLab