Commit 727d6832 authored by Théo De Waele's avatar Théo De Waele

Changement Sieve en _Bool

parent 19feade3
Pipeline #10022 passed with stage
in 0 seconds
......@@ -28,7 +28,7 @@ uint16_t *SieveOfEratosthenes(uint32_t n)
* @return a uint16_t allocated table of primes or NULL if malloc fails.
**/
{
uint32_t *prime = malloc(sizeof(*prime) * (n + 1));
_Bool *prime = malloc(sizeof(*prime) * (n + 1));
if (!prime)
return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment