1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-13 23:27:12 +00:00

Use correct size for %x format for LispPTR in debug output for GC array problems.

This commit is contained in:
Nick Briggs 2022-01-22 15:21:20 -08:00
parent 008ce703e7
commit f15d8eca09

View File

@ -112,7 +112,7 @@ LispPTR aref1(LispPTR array, int index) {
if (index >= actarray->totalsize) {
printf("Invalid index in GC's AREF1: 0x%x\n", index);
printf(" Array size limit: 0x%x\n", actarray->totalsize);
printf(" Array ptr: 0x%lx\n", (UNSIGNED)array);
printf(" Array ptr: 0x%x\n", array);
printf(" Array 68K ptr: %p\n", actarray);
printf("base: 0x%x\n", actarray->base);
printf("offset: 0x%x\n", actarray->offset);