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

Add casts to match calculations to format specifier.

modified:   gccode.c
This commit is contained in:
Nick Briggs 2017-06-07 20:03:31 -07:00
parent 4fe917e2d8
commit f4f9118a7c

View File

@ -276,7 +276,7 @@ int code_block_size(long unsigned int codeblock68k) {
sprintf(errtext,
"Unrecognized bytecode (0%o) at offset 0%o in code block x%x,x%x; continue to use "
"UFN length",
opnum, codeptr - (InstPtr)fnbase, (codeblock68k >> 16) & 0xFF, codeblock68k & 0xFFFF);
opnum, codeptr - (InstPtr)fnbase, (int)((codeblock68k >> 16) & 0xFF), (int)(codeblock68k & 0xFFFF));
error(errtext);
oplength[opnum] = len = (((UFN *)UFNTable) + (opnum))->byte_num;
}