Fixed addresses crossing 0x10000

git-svn-id: svn://svn.cc65.org/cc65/trunk@2365 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-08-18 20:14:31 +00:00
parent 2af86784a9
commit da8739609d
3 changed files with 14 additions and 14 deletions

View File

@@ -69,7 +69,7 @@ static const char* SymTab [0x10000];
void AddrCheck (unsigned Addr)
static void AddrCheck (unsigned Addr)
/* Check if the given address has a valid range */
{
if (Addr >= 0x10000) {
@@ -112,7 +112,7 @@ void MarkAddr (unsigned Addr, attr_t Attr)
const char* MakeLabelName (unsigned Addr)
/* Make the default label name from the given address and return it in a
* static buffer.
*/
*/
{
static char LabelBuf [32];
xsprintf (LabelBuf, sizeof (LabelBuf), "L%04X", Addr);