(uxnasm) Use correct address in symbol export

This commit is contained in:
Devine Lu Linvega 2023-01-11 21:01:56 -08:00
parent 8cd011b602
commit e0c2da0700
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);
}
}