1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Always cast 0 to (char*)0 when it is an argument in a varargs function. (CVS 1948)

FossilOrigin-Name: a1f532520c16a1f4b4285cd522774669292fb234
This commit is contained in:
drh
2004-09-08 15:09:40 +00:00
parent 95380fae3c
commit 03c8988076
7 changed files with 24 additions and 24 deletions

View File

@@ -299,7 +299,7 @@ void sqlite3VdbeChangeP3(Vdbe *p, int addr, const char *zP3, int n){
pOp->p3 = (char*)zP3;
pOp->p3type = n;
}else{
sqlite3SetNString(&pOp->p3, zP3, n, 0);
sqlite3SetNString(&pOp->p3, zP3, n, (char*)0);
pOp->p3type = P3_DYNAMIC;
}
}