From e002300f238dd0937dd9f768e366c006945e8baa Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 29 Apr 2006 17:34:49 +0000 Subject: r15328: Move some functions around, remove dependencies. Remove some autogenerated headers (which had prototypes now autogenerated by pidl) Remove ndr_security.h from a few places - it's no longer necessary (This used to be commit c19c2b51d3e1ad347120b06a22bda5ec586c22e8) --- source4/lib/samba3/share_info.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/samba3') diff --git a/source4/lib/samba3/share_info.c b/source4/lib/samba3/share_info.c index e96adfc175..318e0ff01f 100644 --- a/source4/lib/samba3/share_info.c +++ b/source4/lib/samba3/share_info.c @@ -61,10 +61,10 @@ NTSTATUS samba3_read_share_info(const char *fn, TALLOC_CTX *ctx, struct samba3 * struct samba3_share_info *share; char *name; - if (strncmp(kbuf.dptr, "SECDESC/", strlen("SECDESC/")) != 0) + if (strncmp((char *)kbuf.dptr, "SECDESC/", strlen("SECDESC/")) != 0) continue; - name = talloc_strndup(ctx, kbuf.dptr+strlen("SECDESC/"), kbuf.dsize-strlen("SECDESC/")); + name = talloc_strndup(ctx, (char *)kbuf.dptr+strlen("SECDESC/"), kbuf.dsize-strlen("SECDESC/")); db->shares = talloc_realloc(db, db->shares, struct samba3_share_info, db->share_count+1); share = &db->shares[db->share_count]; -- cgit