summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-cb
blob: af630b8b2aad63da93367439efa4266fbc4c6112 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-cb,v 1.1 2005/11/14 08:05:28 jlam Exp $

--- rpc_server/srv_reg_nt.c.orig	2005-10-12 13:03:33.000000000 -0400
+++ rpc_server/srv_reg_nt.c
@@ -66,7 +66,7 @@ SEC_DESC* construct_registry_sd( TALLOC_
 	size_t i = 0;
 	SEC_DESC *sd;
 	SEC_ACL *acl;
-	uint32 sd_size;
+	size_t sd_size;
 
 	/* basic access for Everyone */
 	
@@ -987,7 +987,7 @@ static WERROR make_default_reg_sd( TALLO
 	SEC_ACE ace[2];         /* at most 2 entries */
 	SEC_ACCESS mask;
 	SEC_ACL *psa = NULL;
-	uint32 sd_size;
+	size_t sd_size;
 
 	/* set the owner to BUILTIN\Administrator */