diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-06-30 20:14:13 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-06-30 20:14:13 +0000 |
| commit | 2512f2fe3b8986d705644f67b757eb4a386a158e (patch) | |
| tree | e9161fc82a6530f0db1e4ecfbf3b8ac5bc616cb1 /gnu/usr.bin/as | |
| parent | c15a5b80be7f54bb75ffcd2ade727b1105f0c71a (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin/as')
| -rw-r--r-- | gnu/usr.bin/as/config/tc-i386.c | 4 | ||||
| -rw-r--r-- | gnu/usr.bin/as/expr.c | 4 | ||||
| -rw-r--r-- | gnu/usr.bin/as/messages.c | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/gnu/usr.bin/as/config/tc-i386.c b/gnu/usr.bin/as/config/tc-i386.c index fba78001965a..c275d2faccae 100644 --- a/gnu/usr.bin/as/config/tc-i386.c +++ b/gnu/usr.bin/as/config/tc-i386.c @@ -25,7 +25,7 @@ */ #ifndef lint -static char rcsid[] = "$Id$"; +static char rcsid[] = "$Id: tc-i386.c,v 1.8 1997/02/22 15:44:23 peter Exp $"; #endif #include "as.h" @@ -443,7 +443,7 @@ static void pe (e) expressionS *e; { fprintf (stdout, " segment %s\n", segment_name (e->X_seg)); - fprintf (stdout, " add_number %d (%x)\n", + fprintf (stdout, " add_number %ld (%lx)\n", e->X_add_number, e->X_add_number); if (e->X_add_symbol) { fprintf (stdout, " add_symbol "); diff --git a/gnu/usr.bin/as/expr.c b/gnu/usr.bin/as/expr.c index 7c168ff93d0d..d073287aed2c 100644 --- a/gnu/usr.bin/as/expr.c +++ b/gnu/usr.bin/as/expr.c @@ -25,7 +25,7 @@ */ #ifndef lint -static char rcsid[] = "$Id$"; +static char rcsid[] = "$Id: expr.c,v 1.6 1997/02/22 15:43:31 peter Exp $"; #endif #include <ctype.h> @@ -636,7 +636,7 @@ void pe (e) expressionS *e; { fprintf (stdout, " segment %s\n", segment_name (e->X_seg)); - fprintf (stdout, " add_number %d (%x)\n", + fprintf (stdout, " add_number %ld (%lx)\n", e->X_add_number, e->X_add_number); if (e->X_add_symbol) { fprintf (stdout, " add_symbol "); diff --git a/gnu/usr.bin/as/messages.c b/gnu/usr.bin/as/messages.c index ed5c8af250af..6c173bc291e3 100644 --- a/gnu/usr.bin/as/messages.c +++ b/gnu/usr.bin/as/messages.c @@ -18,7 +18,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef lint -static char rcsid[] = "$Id$"; +static char rcsid[] = "$Id: messages.c,v 1.6 1997/02/22 15:43:40 peter Exp $"; #endif #include <stdio.h> @@ -559,7 +559,7 @@ fprint_value (file, val) { if (sizeof (val) <= sizeof (long)) { - fprintf (file, "%ld", val); + fprintf (file, "%ld", (long) val); return; } #ifdef BFD_ASSEMBLER @@ -579,7 +579,7 @@ sprint_value (buf, val) { if (sizeof (val) <= sizeof (long)) { - sprintf (buf, "%ld", val); + sprintf (buf, "%ld", (long) val); return; } #ifdef BFD_ASSEMBLER |
