diff --git a/communication_techniques/src/main.c b/communication_techniques/src/main.c index 911b70b..f4317d7 100644 --- a/communication_techniques/src/main.c +++ b/communication_techniques/src/main.c @@ -490,7 +490,7 @@ static int consumer_data(node_param_t *node_param) /*printf("[%p] Just received %d word-sized data%s\n", (void *) pthread_self(), WORDS_PER_LINE, WORDS_PER_LINE ? "s" : "");*/ } } - if (unlikely(!(node_param->type & SINK))) + if (unlikely(!!(node_param->type & SINK))) printf("[%p] Consumer finished !\n", (void*) pthread_self()); if (delayed_error) return -1;