From dd81f8f467f5c39b8dae915f95a1b8b36168eb3a Mon Sep 17 00:00:00 2001
From: Arne Goedeke <el@laramies.com>
Date: Fri, 5 Jun 2015 09:55:03 +0200
Subject: [PATCH] Fixed typo in previous commit

---
 src/builtin_functions.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/builtin_functions.c b/src/builtin_functions.c
index f535c96346..c0b8f6c6bc 100644
--- a/src/builtin_functions.c
+++ b/src/builtin_functions.c
@@ -9293,7 +9293,7 @@ void f_enumerate(INT32 args)
          * false positives, but is much simpler to check than e.g. doing one check
          * for every iteration
          */
-        if (DO_INT_TYPE_MUL_OVERFLOW(n-1, step, &tmb) || INT_TYPE_ADD_OVERFLOW(tmp, start))
+        if (DO_INT_TYPE_MUL_OVERFLOW(n-1, step, &tmp) || INT_TYPE_ADD_OVERFLOW(tmp, start))
           goto slow_path;
       }
 
-- 
GitLab