X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=symbol.c;h=747c5a7e7099d655437e00c17f3bc2466e422fb1;hp=855fe447b747198c09fc65560f42e96971dd158d;hb=2b2451777ddcb27f2b1c21c6551085a7a35e6701;hpb=d28f432296e812643e236d1bfc9b556a7b11c461 diff --git a/symbol.c b/symbol.c index 855fe44..747c5a7 100644 --- a/symbol.c +++ b/symbol.c @@ -1,9 +1,10 @@ -//////////////////////////////////////////////////////////////////////////////////////////////////// +// // RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System // SYMBOL.C - Symbol Handling -// Copyright (C) 199x Landon Dyer, 2011 Reboot and Friends +// Copyright (C) 199x Landon Dyer, 2011-2012 Reboot and Friends // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986 // Source Utilised with the Kind Permission of Landon Dyer +// #include "symbol.h" #include "listing.h" @@ -363,7 +364,7 @@ int symtable(void) { c1 = tdb_text[w & TDB]; if(c == 'x') strcpy(ln2, "external"); else { - sprintf(ln2, "%08lx", q->svalue); + sprintf(ln2, "%08ux", q->svalue); uc_string(ln2); }