objtool: Fix compile failure when using the x32 compiler
[linux-2.6-block.git] / tools / objtool / check.c
index 0b10ad00866867d9f4ba6787ca000f43bed230be..0a33d9195b7a9112df7824899d7564081e3d8782 100644 (file)
@@ -585,7 +585,7 @@ static int add_dead_ends(struct objtool_file *file)
        struct section *rsec;
        struct reloc *reloc;
        struct instruction *insn;
-       unsigned long offset;
+       uint64_t offset;
 
        /*
         * Check for manually annotated dead ends.