mirror of
https://github.com/php/php-src.git
synced 2025-08-20 09:24:05 +02:00
Use %p to display a pointer value
This commit is contained in:
parent
3a81e99c1f
commit
26863c9928
1 changed files with 1 additions and 1 deletions
|
@ -1276,7 +1276,7 @@ int sqliteVdbeList(
|
|||
sprintf(p->zStack[2],"%d", p->aOp[i].p1);
|
||||
sprintf(p->zStack[3],"%d", p->aOp[i].p2);
|
||||
if( p->aOp[i].p3type==P3_POINTER ){
|
||||
sprintf(p->aStack[4].z, "ptr(%#x)", (int)p->aOp[i].p3);
|
||||
sprintf(p->aStack[4].z, "ptr(%p)", p->aOp[i].p3);
|
||||
p->zStack[4] = p->aStack[4].z;
|
||||
}else{
|
||||
p->zStack[4] = p->aOp[i].p3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue