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:
cuz
2003-11-23 21:39:12 +00:00
parent eb7fc320cc
commit f99049f84c
4 changed files with 11 additions and 10 deletions

View File

@@ -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 */