From: Chris Hanson Date: Mon, 26 Nov 2007 04:00:24 +0000 (+0000) Subject: Fix formatting type error. X-Git-Tag: 20090517-FFI~411 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=6c57577999965907c9f319ef3f8948f3d877244d;p=mit-scheme.git Fix formatting type error. --- diff --git a/v7/src/microcode/debug.c b/v7/src/microcode/debug.c index 6616e81a0..78f464ddc 100644 --- a/v7/src/microcode/debug.c +++ b/v7/src/microcode/debug.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: debug.c,v 9.61 2007/04/22 16:31:22 cph Exp $ +$Id: debug.c,v 9.62 2007/11/26 04:00:24 cph Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -301,7 +301,8 @@ print_objects (SCHEME_OBJECT * objects, int n) end = (objects + n); while (scan < end) { - outf_error ("%4x: ", (((char *) scan) - ((char *) objects))); + outf_error + ("%4lx: ", ((unsigned long) (((char *) scan) - ((char *) objects)))); do_printing (ERROR_OUTPUT, (*scan++), true); outf_error ("\n"); }