mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-26 11:52:25 +00:00
Correct -Wformat-pedantic warnings
Many of the warnings were newly visible after the DBPRINT macro was modified, but the pedantic warnings also caught existing printf family usage which was not strictly correct. Mostly replacing 0x%x with %p for pointers, adding (void *) for those and other pointers, %td for ptrdiff_t, but also changing some function parameters from UNSIGNED (uintptr_t) to int where that was the more appropriate type.
This commit is contained in:
@@ -718,7 +718,7 @@ void nt(LispPTR index)
|
||||
}
|
||||
|
||||
printf("***DUMP Func Header << ");
|
||||
printf("start at 0x%x lisp address(%p 68k)\n", LADDR_from_68k(fnobj), fnobj);
|
||||
printf("start at 0x%x lisp address(%p 68k)\n", LADDR_from_68k(fnobj), (void *)fnobj);
|
||||
print(index);
|
||||
putchar('\n');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user