Mark Wielaard <[email protected]> writes:

> Does this patch help?
>
> diff --git a/dwarf_prototypes.c b/dwarf_prototypes.c
> index 9c36904..a39219e 100644
> --- a/dwarf_prototypes.c
> +++ b/dwarf_prototypes.c
> @@ -8,6 +8,7 @@
>  #include <stdio.h>
>  #include <elfutils/libdwfl.h>
>  #include <dwarf.h>
> +#include <inttypes.h>
>  #include <stdlib.h>
>  #include <errno.h>
>  #include <string.h>
> @@ -27,7 +28,7 @@
>  #include "debug.h"
>  
>  #define complain(die, format, ...)                                     \
> -       debug(DEBUG_FUNCTION, "%s() die '%s' @ 0x%lx: " format,         \
> +       debug(DEBUG_FUNCTION, "%s() die '%s' @ 0x%" PRIx64 ": " format, \
>               __func__, dwarf_diename(die), dwarf_dieoffset(die),       \
>               ##__VA_ARGS__)
>  

It would, if it would apply.

Andreas.

-- 
Andreas Schwab, [email protected]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

_______________________________________________
Ltrace-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/ltrace-devel

Reply via email to