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:
@@ -116,7 +116,7 @@ INLINE unsigned GetCurrentSegNum (void)
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_INLINE)
|
||||
INLINE unsigned GetCurrentSegAddrSize (void)
|
||||
INLINE unsigned char GetCurrentSegAddrSize (void)
|
||||
/* Get the address size of the current segment */
|
||||
{
|
||||
return ActiveSeg->Def->AddrSize;
|
||||
@@ -131,7 +131,7 @@ void SegAlign (unsigned Power, int Val);
|
||||
* given value.
|
||||
*/
|
||||
|
||||
unsigned GetSegAddrSize (unsigned SegNum);
|
||||
unsigned char GetSegAddrSize (unsigned SegNum);
|
||||
/* Return the address size of the segment with the given number */
|
||||
|
||||
unsigned long GetPC (void);
|
||||
|
||||
Reference in New Issue
Block a user