[ltrace-commits] 40/40: removed needless cast

Petr Machata pmachata-guest at moszumanska.debian.org
Sun May 11 22:38:56 UTC 2014


This is an automated email from the git hooks/post-receive script.

pmachata-guest pushed a commit to branch master
in repository ltrace.

commit ed7f81b43c88a23510610c3b9afd77946691909a
Author: Dima Kogan <dima at secretsauce.net>
Date:   Sun May 11 14:20:12 2014 -0700

    removed needless cast
---
 dwarf_prototypes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/ltrace.git



More information about the ltrace-commits mailing list