summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwarf_prototypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwarf_prototypes.c b/dwarf_prototypes.c
index 96df5b0..8466c88 100644
--- a/dwarf_prototypes.c
+++ b/dwarf_prototypes.c
@@ -200,7 +200,7 @@ static bool get_integer_base_type(enum arg_type *type, int byte_size,
// support a particular type (or an error occurred), I regturn ARGTYPE_VOID
static enum arg_type get_base_type(Dwarf_Die *die)
{
- int64_t encoding;
+ uint64_t encoding;
if (!get_die_numeric((uint64_t*)&encoding, die, DW_AT_encoding))
return ARGTYPE_VOID;