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

@@ -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);