Fix for SF 780407.

Change %08l to %p to print a pointer.
Will backport to 2.3.
This commit is contained in:
Guido van Rossum 2004-03-20 22:34:14 +00:00
parent 70d172dda4
commit c69661725a
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ addlabel(labellist *ll, int type, char *str)
lb->lb_type = type;
lb->lb_str = strdup(str);
if (Py_DebugFlag)
printf("Label @ %08x, %d: %s\n", (unsigned)ll, ll->ll_nlabels,
printf("Label @ %8p, %d: %s\n", ll, ll->ll_nlabels,
PyGrammar_LabelRepr(lb));
return lb - ll->ll_label;
}