ref: 6c10ca62ad899fe5f5f0f687d7ec7b3b0650601f
parent: 49809f6caf1a7c7c3d80cfe231010437606a2b91
author: Anthony J. Bentley <[email protected]>
date: Sat Jul 25 22:08:39 EDT 2015
Don't silently truncate banks greater than 255 to 8 bits.
--- a/include/link/symbol.h
+++ b/include/link/symbol.h
@@ -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);
--- a/src/link/symbol.c
+++ b/src/link/symbol.c
@@ -76,7 +76,7 @@
}
void
-sym_CreateSymbol(char *tzName, SLONG nValue, SBYTE nBank)
+sym_CreateSymbol(char *tzName, SLONG nValue, SLONG nBank)
{
if (strcmp(tzName, "@") == 0)
return;