Skip to content

Commit

Permalink
Don't silently truncate banks greater than 255 to 8 bits.
Browse files Browse the repository at this point in the history
  • Loading branch information
bentley committed Jul 26, 2015
1 parent 49809f6 commit 6c10ca6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/link/symbol.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "types.h"

void sym_Init(void);
void sym_CreateSymbol(char *tzName, SLONG nValue, SBYTE nBank);
void sym_CreateSymbol(char *tzName, SLONG nValue, SLONG nBank);
SLONG sym_GetValue(char *tzName);
SLONG sym_GetBank(char *tzName);

Expand Down
2 changes: 1 addition & 1 deletion src/link/symbol.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ sym_GetBank(char *tzName)
}

void
sym_CreateSymbol(char *tzName, SLONG nValue, SBYTE nBank)
sym_CreateSymbol(char *tzName, SLONG nValue, SLONG nBank)
{
if (strcmp(tzName, "@") == 0)
return;
Expand Down

0 comments on commit 6c10ca6

Please sign in to comment.