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(-)

diff --git a/linearize.c b/linearize.c
index d428d92..c38dd7d 100644
--- a/linearize.c
+++ b/linearize.c
@@ -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;
-- 
1.5.2.rc3.87.g404fd


-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to