From 77a95b2d498051086b8b77bb4b08395fc03df04f Mon Sep 17 00:00:00 2001 From: John Ralls Date: Thu, 12 Dec 2024 14:21:29 -0800 Subject: [PATCH] Silence compile warning with a cast. --- libgnucash/engine/qofquery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgnucash/engine/qofquery.cpp b/libgnucash/engine/qofquery.cpp index b36a0ba3b11..2a1be5e6c78 100644 --- a/libgnucash/engine/qofquery.cpp +++ b/libgnucash/engine/qofquery.cpp @@ -407,7 +407,7 @@ check_object (const QofQuery *q, gpointer object) /* The last term is the actual parameter getter */ if (!node->next) break; - conv_obj = param->param_getfcn (conv_obj, param); + conv_obj = (void*)param->param_getfcn (conv_obj, param); } if (((qt->pred_fcn)(conv_obj, param, qt->pdata)) == qt->invert)