changeset 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 8f4575a04825
children 19ccf004b172
files src/print.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;