Fix compilation warning on 64 bits platforms v2
PATCH 1/1 Fix compilation warning on 64 bits platforms v2
Fix: format '%d' expects type 'int', but argument 2 has type 'long int'
Signed-off-by Damien Lespiau <[email protected]>
--- linearize.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
linearize.c +1 -1
@@ -461,7 +461,7 @@ const char *show_instruction(struct instruction *insn) }if (buf >= buffer +sizeof (buffer)) -die ("instruction buffer overflowed %d\n" , buf - buffer); +die ("instruction buffer overflowed %td\n" , buf - buffer);do { --buf; }while (*buf ==' ' ); *++buf =0 ;return buffer;
Signature · 1 line
1.5.2.rc3.87.g404fd