Add FIXME

This commit is contained in:
Patrick Pelissier committed 2020-10-23 21:50:57 +02:00
1 parent 0818d0ac7c
commit ddc722bf78
1 file changed
+1
+1
View File
@@ -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) ; \
} \