summaryrefslogtreecommitdiff
path: root/ldso/ldso/ldso.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-11-12 17:29:48 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-11-12 17:29:48 +0100
commitea269ccbb222c6913cff6fc3ebc87cc945df53a8 (patch)
tree716a27b10eb10f58417e8c95a3e82de2a8cff17f /ldso/ldso/ldso.c
parentecc7aee9a0eb4f9fbdf4dc2972e8c6361e531b6a (diff)
ldso: silence warnings in debug code
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'ldso/ldso/ldso.c')
-rw-r--r--ldso/ldso/ldso.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c
index fddc787f9..0c2ed07bf 100644
--- a/ldso/ldso/ldso.c
+++ b/ldso/ldso/ldso.c
@@ -751,8 +751,8 @@ of this helper program; chances are you did not intend to run this program.\n\
* case the executable is actually an ET_DYN object.
*/
if (app_tpnt->l_tls_initimage != NULL) {
- unsigned int tmp __attribute((unused)) =
- (unsigned int) app_tpnt->l_tls_initimage;
+ char *tmp attribute_unused =
+ (char *) app_tpnt->l_tls_initimage;
app_tpnt->l_tls_initimage =
(char *) app_tpnt->l_tls_initimage + app_tpnt->loadaddr;
_dl_debug_early("Relocated TLS initial image from %x to %x (size = %x)\n",