1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-14 11:54:43 +00:00

Correct format specification for printing DLword StackOffset (%tx -> %hx)

This commit is contained in:
Nick Briggs
2023-02-14 12:12:53 -08:00
parent a958af1627
commit 937a003bfb

View File

@@ -77,7 +77,7 @@ static inline DLword *NativeAligned2FromStackOffset(DLword StackOffset)
static inline LispPTR *NativeAligned4FromStackOffset(DLword StackOffset)
{
if (StackOffset & 1) {
printf("Misaligned StackOffset in NativeAligned4FromStackOffset 0x%tx\n", StackOffset);
printf("Misaligned StackOffset in NativeAligned4FromStackOffset 0x%hx\n", StackOffset);
}
return (void *)(Stackspace + StackOffset);
}