From 972a81c1592eb3cc0f54b394612256a54fa26411 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Thu, 5 Jan 2017 11:53:58 +0100 Subject: Found an issue. --- src/tool/sorted_list.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tool/sorted_list.c') diff --git a/src/tool/sorted_list.c b/src/tool/sorted_list.c index 880a4b5..5252c9e 100644 --- a/src/tool/sorted_list.c +++ b/src/tool/sorted_list.c @@ -33,6 +33,7 @@ int ZoO_sorted_list_index_of for (;;) { /* FIXME: overflow-safe? */ + /* No: (and (> current_min (/ Max 2)) (> current_max (/ Max 2))) */ i = ((current_min + current_max) / 2); if (i == list_length) -- cgit v1.2.3-70-g09d2