summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDima Kogan <dima@secretsauce.net>2014-05-11 14:20:12 -0700
committerChanho Park <chanho61.park@samsung.com>2014-08-22 20:38:26 +0900
commit2b1c30351b63c4cdbd6baefa56d463fc32eb0f74 (patch)
treea04bba841c6fde046072065f0378db52411d0ef5
parent150e91ca55bd5d3935c1d865327c676a6b5c9ce7 (diff)
downloadltrace-2b1c30351b63c4cdbd6baefa56d463fc32eb0f74.tar.gz
ltrace-2b1c30351b63c4cdbd6baefa56d463fc32eb0f74.tar.bz2
ltrace-2b1c30351b63c4cdbd6baefa56d463fc32eb0f74.zip
removed needless cast
-rw-r--r--dwarf_prototypes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwarf_prototypes.c b/dwarf_prototypes.c
index 4a23ae7..4860e4d 100644
--- a/dwarf_prototypes.c
+++ b/dwarf_prototypes.c
@@ -201,7 +201,7 @@ static bool get_integer_base_type(enum arg_type *type, int byte_size,
static enum arg_type get_base_type(Dwarf_Die *die)
{
uint64_t encoding;
- if (!get_die_numeric((uint64_t*)&encoding, die, DW_AT_encoding))
+ if (!get_die_numeric(&encoding, die, DW_AT_encoding))
return ARGTYPE_VOID;
if (encoding == DW_ATE_void)