From f2b3078e6a20211233d4971653838e06d048296a Mon Sep 17 00:00:00 2001 From: Martin Sebor Date: Fri, 15 Jan 2016 11:07:41 -0700 Subject: Fix build failures with -DDEBUG. [BZ #19443] * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string. [DEBUG] (_ufc_set_bits): Declare used. * iconv/gconv_dl.c [DEBUG]: Add a missing include directive. [DEBUG] (print_all): Declare used. * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert operands of the ternary ?: expression to target type. * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of calling the undeclared abort. * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME. --- crypt/crypt_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypt') diff --git a/crypt/crypt_util.c b/crypt/crypt_util.c index 4b6490e..1f42f59 100644 --- a/crypt/crypt_util.c +++ b/crypt/crypt_util.c @@ -271,12 +271,12 @@ _ufc_prbits (ufc_long *a, int n) t=8*i+j; tmp|=(a[t/24] & BITMASK[t % 24])?bytemask[j]:0; } - (void)printf("%02x ",tmp); + (void)printf("%02lx ", tmp); } printf(" "); } -static void +static void __attribute__ ((unused)) _ufc_set_bits (ufc_long v, ufc_long *b) { ufc_long i; -- cgit v1.1