From 57b957eb048c9b6aad52490ebe70d20a7c2b6caa Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 9 Feb 2012 11:20:27 -0800 Subject: Avoid pointer type mismatch warning. update_get_addr returns a link_map*, but the return expression was of type char*. Fix by relying on gcc's void* arithmetic extension and auto-conversion from void*. --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 32f174dc5c..8585e5aec4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-02-09 Richard Henderson + + * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning. + 2012-02-08 Marek Polacek * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional. -- cgit v1.2.3