From 6f22e5b7d945a073cc1744b0fc7cb2ed0052d450 Mon Sep 17 00:00:00 2001 From: keie Date: Fri, 21 Jun 1985 12:55:17 +0000 Subject: [PATCH] %D => %ld --- util/misc/decode.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/util/misc/decode.c b/util/misc/decode.c index 6edcc8b67..559505465 100644 --- a/util/misc/decode.c +++ b/util/misc/decode.c @@ -322,7 +322,7 @@ int table3(i) { case sp_ilb2: argval = get16(); if ( argval<0 ) { - error("illegal instruction label %D",argval); + error("illegal instruction label %ld",argval); argval=0 ; } break; @@ -421,12 +421,12 @@ puttyp(t) { break; case sp_cst2: case sp_cst4: - printf("%D",argval); + printf("%ld",argval); break; case sp_doff: puttyp(offtyp); if (argval >= 0) putchar('+'); - printf("%D",argval); + printf("%ld",argval); break; case sp_pnam: putstr('$',0); @@ -436,15 +436,15 @@ puttyp(t) { break; case sp_icon: putstr(0,'I'); - printf("%D",argval); + printf("%ld",argval); break; case sp_ucon: putstr(0,'U'); - printf("%D",argval); + printf("%ld",argval); break; case sp_fcon: putstr(0,'F'); - printf("%D",argval); + printf("%ld",argval); break; case sp_cend: putchar('?'); -- 2.34.1