diff options
author | drh <> | 2025-01-13 11:28:34 +0000 |
---|---|---|
committer | drh <> | 2025-01-13 11:28:34 +0000 |
commit | 43afab28a09659f7869661a8e56f21865af2414d (patch) | |
tree | a9299a76f9b1624d642e00f24fb2945d0b64e8af /ext/misc/regexp.c | |
parent | 14bc98d8e2a7d07b98bf679b9e586043dd772bf3 (diff) | |
download | sqlite-43afab28a09659f7869661a8e56f21865af2414d.tar.gz sqlite-43afab28a09659f7869661a8e56f21865af2414d.zip |
GCC 13 has become more quite pedantic about the signature of functions matching the
type of pointers through which the functions are called. Make adjustments to
extension functions and test procedures to work around this. No changes to the
core.
FossilOrigin-Name: ed83b79100b4345235aec990303c4526874f0c2f8701160c4639a80633ebaf70
Diffstat (limited to 'ext/misc/regexp.c')
-rw-r--r-- | ext/misc/regexp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/misc/regexp.c b/ext/misc/regexp.c index a50008ca3..71c7ea4c2 100644 --- a/ext/misc/regexp.c +++ b/ext/misc/regexp.c @@ -656,7 +656,8 @@ static const char *re_subcompile_string(ReCompiled *p){ ** regular expression. Applications should invoke this routine once ** for every call to re_compile() to avoid memory leaks. */ -static void re_free(ReCompiled *pRe){ +static void re_free(void *p){ + ReCompiled *pRe = (ReCompiled*)p; if( pRe ){ sqlite3_free(pRe->aOp); sqlite3_free(pRe->aArg); |