Mercurial > emacs
diff src/print.c @ 1521:5d58b9e933ee
* print.c (print): Cast the frame's address to an integer before
passing it to sprintf to form the frame's printed form.
| author | Jim Blandy <jimb@redhat.com> |
|---|---|
| date | Sat, 31 Oct 1992 05:27:05 +0000 |
| parents | b9e81bfc7ad9 |
| children | 3c615a9dcd64 |
line wrap: on
line diff
--- a/src/print.c Sat Oct 31 05:26:29 1992 +0000 +++ b/src/print.c Sat Oct 31 05:27:05 1992 +0000 @@ -893,7 +893,7 @@ ? "#<frame " : "#<dead frame "), -1, printcharfun); print_string (XFRAME (obj)->name, printcharfun); - sprintf (buf, " 0x%x", XFASTINT (XFRAME (obj))); + sprintf (buf, " 0x%x", (unsigned int) (XFRAME (obj))); strout (buf, -1, printcharfun); strout (">", -1, printcharfun); break;
