From 0eed9f6934eb9fc1dfc61332f40c6bf660cb6073 Mon Sep 17 00:00:00 2001 From: Cole Lyman Date: Tue, 20 Feb 2018 14:02:27 -0700 Subject: [PATCH] In method intersection_uint32, set the correct size of the returned intersection array. --- src/intersection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intersection.c b/src/intersection.c index 56599bb..9577e0f 100755 --- a/src/intersection.c +++ b/src/intersection.c @@ -67,7 +67,7 @@ uint32_t* intersection_uint32(uint32_t* list_a, uint32_t* list_b){ } } - list_c[it] = 0; + list_c[0] = it; return list_c; }