Reduced scope of hex lookup table

This commit is contained in:
Jeremiah Orians 2016-07-04 15:12:58 -04:00
parent a6e081c657
commit 75e10f52ac
No known key found for this signature in database
GPG Key ID: 7457821534D2ACCD
1 changed files with 1 additions and 2 deletions

3
asm.c
View File

@ -433,10 +433,9 @@ void update_jumps(struct Token* head, struct Token* p)
}
}
char table[16] = {0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46};
void hexify_string(char* s, char* d, int max)
{
char table[16] = {0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46};
int i = 0;
while( i < max)
{