aboutsummaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 9506dd989e..e5a869b923 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -7162,7 +7162,7 @@ find_internal_func (
* Find the function name in the table. Binary search.
*/
while (first <= last) {
- x = first + ((unsigned)(last - first) >> 1);
+ x = first + (last - first) / 2;
cmp = STRCMP(name, functions[x].f_name);
if (cmp < 0)
last = x - 1;