From ddc722bf7825ce86affed7c70ac484dd359668f1 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Fri, 23 Oct 2020 21:50:57 +0200 Subject: [PATCH] Add FIXME --- m-dict.h | 1 + 1 file changed, 1 insertion(+) diff --git a/m-dict.h b/m-dict.h index 4964f2f3..dd171450 100644 --- a/m-dict.h +++ b/m-dict.h @@ -1300,6 +1300,7 @@ enum dicti_oa_element_e { static inline void \ M_C(name,_int_limit)(dict_t dict, size_t size) \ { \ + /* FIXME: Overflow not handled. What to do in case of it? */ \ dict->upper_limit = (size_t) ((double) size * coeff_up) - 1; \ dict->lower_limit = (size <= DICTI_INITIAL_SIZE) ? 0 : (size_t) ((double) size * coeff_down) ; \ } \