src/server/util/object.c

changeset 490
d218607f5a7e
parent 452
ce359a2b51fe
--- a/src/server/util/object.c	Sat Mar 25 17:18:51 2023 +0100
+++ b/src/server/util/object.c	Fri May 05 18:02:11 2023 +0200
@@ -518,8 +518,8 @@
 }
 
 NSAPIExpression* expr_parse_logical_expr(pool_handle_t *pool, CxList *tokens, size_t *pos) {  
-    CxList *op_stack = cxArrayListCreate(pool_allocator(pool), cx_cmp_ptr, sizeof(ExprOpStackItem), 32);
-    CxList *ex_stack = cxArrayListCreate(pool_allocator(pool), cx_cmp_ptr, sizeof(NSAPIExpression*), 32);
+    CxList *op_stack = cxArrayListCreate(pool_allocator(pool), NULL, sizeof(ExprOpStackItem), 32);
+    CxList *ex_stack = cxArrayListCreate(pool_allocator(pool), NULL, sizeof(NSAPIExpression*), 32);
     
     ExprParser parser;
     parser.pool = pool;

mercurial