uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit e0c2da07007801ae047bf60d2eae1b49ea85ab00
parent 8cd011b6024dff2f598a6bbfd307018ba385acd9
Author: Devine Lu Linvega <aliceffekt@gmail.com>
Date:   Wed, 11 Jan 2023 21:01:56 -0800

(uxnasm) Use correct address in symbol export

Diffstat:
Msrc/uxnasm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/uxnasm.c b/src/uxnasm.c @@ -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); } }