aboutsummaryrefslogtreecommitdiff
path: root/src/printf.c
diff options
context:
space:
mode:
authordrh <>2023-10-17 19:33:52 +0000
committerdrh <>2023-10-17 19:33:52 +0000
commit43dc31cf1feff10d37e7a5dc3ce141698054768a (patch)
treef1b3570aa435f264f164c44114d58dd4eb807184 /src/printf.c
parent6db4e5ed4cc2247381bb2b93bdb66979d081cf94 (diff)
downloadsqlite-43dc31cf1feff10d37e7a5dc3ce141698054768a.tar.gz
sqlite-43dc31cf1feff10d37e7a5dc3ce141698054768a.zip
Fix a harmless compiler warning about variant types for a pointer function.
FossilOrigin-Name: 37ff0d8e7f91c32e8c53bb015280be47c66bf599281b640a8d3fd41335b55289
Diffstat (limited to 'src/printf.c')
-rw-r--r--src/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printf.c b/src/printf.c
index 87ad91f79..3c0b182d3 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -1389,7 +1389,7 @@ char *sqlite3RCStrRef(char *z){
** Decrease the reference count by one. Free the string when the
** reference count reaches zero.
*/
-void sqlite3RCStrUnref(char *z){
+void sqlite3RCStrUnref(void *z){
RCStr *p = (RCStr*)z;
assert( p!=0 );
p--;