Commit c6966172 authored by Guido van Rossum's avatar Guido van Rossum

Fix for SF 780407.

Change %08l to %p to print a pointer.
Will backport to 2.3.
parent 70d172dd
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment