]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Further fixes around floating point expressions
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 29 Oct 2017 14:38:18 +0000 (14:38 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 29 Oct 2017 14:38:18 +0000 (14:38 +0000)
src/libutil/expression.c

index 3f631d918be1834de2895ad188ee333b8df1e668..a6b0153d9400eb6a8d647d82cc56ef8f863f6026 100644 (file)
@@ -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;