Commit 2ee1a2f7 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(print): sprintf arg for frame depends on VALBITS.

parent 00fb3e95
......@@ -972,7 +972,10 @@ print (obj, printcharfun, escapeflag)
? "#<frame " : "#<dead frame "),
-1, printcharfun);
print_string (XFRAME (obj)->name, printcharfun);
sprintf (buf, " 0x%lx", (EMACS_UINT) (XFRAME (obj)));
if (sizeof (EMACS_INT) > 4)
sprintf (buf, " 0x%lx", (EMACS_UINT) (XFRAME (obj)));
sprintf (buf, " 0x%x", (EMACS_UINT) (XFRAME (obj)));
strout (buf, -1, printcharfun);
strout (">", -1, printcharfun);
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