From 9e460df0b99b4b7a74dc58bfd0b8a49918de7abd Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 2 Feb 2004 21:32:35 +0000 Subject: Merge from 3.0. Jeremy. (This used to be commit 5c5545bd44cdaf4a0b75b0c1c22dd74bb278a6a5) --- source3/nsswitch/winbind_nss_linux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/nsswitch/winbind_nss_linux.c b/source3/nsswitch/winbind_nss_linux.c index 362047f62b..ae2bcc7ade 100644 --- a/source3/nsswitch/winbind_nss_linux.c +++ b/source3/nsswitch/winbind_nss_linux.c @@ -38,7 +38,7 @@ extern int winbindd_fd; are the pointers passed in by the C library to the _nss_ntdom_* functions. */ -static char *get_static(char **buffer, int *buflen, int len) +static char *get_static(char **buffer, size_t *buflen, size_t len) { char *result; @@ -1080,7 +1080,7 @@ _nss_winbind_uidtosid(uid_t uid, char **sid, char *buffer, struct winbindd_request request; #ifdef DEBUG_NSS - fprintf(stderr, "[%5d]: uidtosid %s\n", getpid(), name); + fprintf(stderr, "[%5u]: uidtosid %u\n", (unsigned int)getpid(), (unsigned int)uid); #endif ZERO_STRUCT(response); @@ -1119,7 +1119,7 @@ _nss_winbind_gidtosid(gid_t gid, char **sid, char *buffer, struct winbindd_request request; #ifdef DEBUG_NSS - fprintf(stderr, "[%5d]: gidtosid %s\n", getpid(), name); + fprintf(stderr, "[%5u]: gidtosid %u\n", (unsigned int)getpid(), (unsigned int)gid); #endif ZERO_STRUCT(response); -- cgit