]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
Fix extra reference of parameters of rrd_fetch_dbi_{long,double} (#1255)
authorMartin Jambor <mjambor@suse.cz>
Mon, 29 Jul 2024 06:59:04 +0000 (08:59 +0200)
committerGitHub <noreply@github.com>
Mon, 29 Jul 2024 06:59:04 +0000 (08:59 +0200)
commitddc6021f1f9ccf891d155331bcb626c6a481d390
tree21fedadc8eb89e18edd799bf4eeb153dbe799aec
parentb39df920f0ff31a49460d9872006a2579ee4c7ed
Fix extra reference of parameters of rrd_fetch_dbi_{long,double} (#1255)

Functions rrd_fetch_dbi_long and rrd_fetch_dbi_double currently take
the first parameter of type "bi_result result *" even though that is
already a pointer and the use of that parameter suggests the extra
indirection is not wanted.  What is more, the caller passes just
"bi_result result" to the corresponding actual arguments which results
in compile errors with GCC 14 because it now does not accept
incompatible pointer types by default.
CHANGES
src/rrd_fetch_libdbi.c