(uxnasm) Use correct address in symbol export
This commit is contained in:
parent
a61b1cf0ac
commit
18ff8550c7
|
@ -452,7 +452,7 @@ writesym(char *filename)
|
||||||
if(fp != NULL) {
|
if(fp != NULL) {
|
||||||
for(i = 0; i < p.llen; i++) {
|
for(i = 0; i < p.llen; i++) {
|
||||||
fwrite(&p.labels[i].addr + 1, 1, 1, fp);
|
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);
|
fwrite(p.labels[i].name, slen(p.labels[i].name) + 1, 1, fp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue