From cb62108e740924551fd45f89815d6fba8139890b Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Fri, 21 Jul 2017 09:56:13 -0700 Subject: Fix nss/nss_test1.c compile with latest GCC. * nss/nss_test1.c (default_npwd_data): Fix definition. --- nss/nss_test1.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nss') diff --git a/nss/nss_test1.c b/nss/nss_test1.c index b728e418a3..86bbc2c548 100644 --- a/nss/nss_test1.c +++ b/nss/nss_test1.c @@ -57,7 +57,8 @@ static struct passwd default_pwd_data[] = PWD (60), PWD (20000) }; -#define default_npwd_data (sizeof (pwd_data) / sizeof (pwd_data[0])) +#define default_npwd_data \ + (sizeof (default_pwd_data) / sizeof (default_pwd_data[0])) static struct passwd *pwd_data = default_pwd_data; static int npwd_data = default_npwd_data; -- cgit v1.2.3-65-gdbad