removed needless cast
authorDima Kogan <dima@secretsauce.net>
Sun, 11 May 2014 21:20:12 +0000 (14:20 -0700)
committerChanho Park <chanho61.park@samsung.com>
Fri, 22 Aug 2014 11:38:26 +0000 (20:38 +0900)
dwarf_prototypes.c

index 4a23ae7..4860e4d 100644 (file)
@@ -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)