(uxnasm) Use correct address in symbol export

This commit is contained in:
Devine Lu Linvega 2023-01-11 21:02:29 -08:00
parent a61b1cf0ac
commit 18ff8550c7
1 changed files with 1 additions and 1 deletions

View File

@ -452,7 +452,7 @@ writesym(char *filename)
if(fp != NULL) {
for(i = 0; i < p.llen; i++) {
fwrite(&p.labels[i].addr + 1, 1, 1, fp);
fwrite(&p.labels[i].addr, 1, 1, fp);
fwrite((Uint8*)&p.labels[i].addr, 1, 1, fp);
fwrite(p.labels[i].name, slen(p.labels[i].name) + 1, 1, fp);
}
}