From 3246d469b1c1fdf901bef072aa9b0272c0c740bd Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" <Todd.Miller@courtesan.com> Date: Fri, 24 Jan 2014 09:39:11 -0700 Subject: [PATCH] Size pointer for sudo_parseln() should be size_t not ssize_t. This was already correct for the nsswitch.conf case. --HG-- branch : 1.8 --- plugins/sudoers/sudo_nss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sudoers/sudo_nss.c b/plugins/sudoers/sudo_nss.c index 26c5874f8..e42060005 100644 --- a/plugins/sudoers/sudo_nss.c +++ b/plugins/sudoers/sudo_nss.c @@ -137,7 +137,7 @@ sudo_read_nss(void) { FILE *fp; char *cp, *ep, *line = NULL; - ssize_t linesize = 0; + size_t linesize = 0; #ifdef HAVE_SSSD bool saw_sss = false; #endif -- 2.40.0