From c438cc6adc172a76c71b7d6f248bfc3503c39bab Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Tue, 10 Dec 2024 14:57:03 +0300 Subject: Fix various function pointer types Fixes Wincompatible-pointer-types errors on GCC 15. Signed-off-by: Sergey Bugaev Message-ID: <20241210115705.710555-1-bugaevc@gmail.com> --- ddb/db_variables.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ddb') diff --git a/ddb/db_variables.h b/ddb/db_variables.h index 9880d50f..2929dab9 100644 --- a/ddb/db_variables.h +++ b/ddb/db_variables.h @@ -51,7 +51,7 @@ struct db_variable { #define DB_VAR_GET 0 #define DB_VAR_SET 1 }; -#define FCN_NULL ((void (*)())0) +#define FCN_NULL ((void (*)(struct db_variable *, db_expr_t *, int, db_var_aux_param_t))0) #define DB_VAR_LEVEL 3 /* maximum number of suffix level */ -- cgit v1.2.3