aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-29 14:38:18 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-10-29 14:38:18 +0000
commit3e155850244b8c7a93fca5ba1052547e3f7d3ccf (patch)
tree37d958e1a5de171ac3e3a627524b15aeba2c6446
parenta864c89f80ea8824aafae9ae6044de8eafb13a4c (diff)
downloadrspamd-3e155850244b8c7a93fca5ba1052547e3f7d3ccf.tar.gz
rspamd-3e155850244b8c7a93fca5ba1052547e3f7d3ccf.zip
[Fix] Further fixes around floating point expressions
-rw-r--r--src/libutil/expression.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/expression.c b/src/libutil/expression.c
index 3f631d918..a6b0153d9 100644
--- a/src/libutil/expression.c
+++ b/src/libutil/expression.c
@@ -942,7 +942,7 @@ rspamd_ast_node_done (struct rspamd_expression_elt *elt,
}
static gdouble
-rspamd_ast_do_op (struct rspamd_expression_elt *elt, gint val,
+rspamd_ast_do_op (struct rspamd_expression_elt *elt, gdouble val,
gdouble acc, gdouble lim, gboolean first_elt)
{
gdouble ret = val;