From 9067311788b1113beb73c88e17ce35af3b7d9889 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Fri, 12 Jul 2019 11:50:46 +0200 Subject: [PATCH] Update comment --- m-dict.h | 1 + 1 file changed, 1 insertion(+) diff --git a/m-dict.h b/m-dict.h index 152e2982..b36b4ce0 100644 --- a/m-dict.h +++ b/m-dict.h @@ -1725,6 +1725,7 @@ typedef enum { size_t size; \ /* Get the size which will allow to fit this capacity */ \ size = m_core_roundpow2 (capacity * (1.0 / coeff_up)); \ + /* Test for overflow of the computation */ \ if (M_UNLIKELY (size < capacity)) { \ M_MEMORY_FULL((size_t)-1); \ } \