Hold address sizes in an unsigned char
git-svn-id: svn://svn.cc65.org/cc65/trunk@2680 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -102,7 +102,7 @@ Segment* ActiveSeg = &CodeSeg;
|
||||
|
||||
|
||||
|
||||
static Segment* NewSegment (const char* Name, unsigned AddrSize)
|
||||
static Segment* NewSegment (const char* Name, unsigned char AddrSize)
|
||||
/* Create a new segment, insert it into the global list and return it */
|
||||
{
|
||||
Segment* S;
|
||||
@@ -261,7 +261,7 @@ void SegAlign (unsigned Power, int Val)
|
||||
|
||||
|
||||
|
||||
unsigned GetSegAddrSize (unsigned SegNum)
|
||||
unsigned char GetSegAddrSize (unsigned SegNum)
|
||||
/* Return the address size of the segment with the given number */
|
||||
{
|
||||
/* Search for the segment */
|
||||
|
||||
Reference in New Issue
Block a user