From e548ec9c24d7f05fea81910b8c7cf3fc0bd137db Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 15 Mar 2009 17:14:25 +0100 Subject: display_sec: Remove use of samba3-specific data types. --- source3/lib/display_sec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/lib/display_sec.c b/source3/lib/display_sec.c index fe1ae77edd..6edbb27f3a 100644 --- a/source3/lib/display_sec.c +++ b/source3/lib/display_sec.c @@ -24,7 +24,7 @@ convert a security permissions into a string ****************************************************************************/ -char *get_sec_mask_str(TALLOC_CTX *ctx, uint32 type) +char *get_sec_mask_str(TALLOC_CTX *ctx, uint32_t type) { char *typestr = talloc_strdup(ctx, ""); @@ -122,7 +122,7 @@ void display_sec_access(uint32_t *info) { char *mask_str = get_sec_mask_str(NULL, *info); printf("\t\tPermissions: 0x%x: %s\n", *info, mask_str ? mask_str : ""); - TALLOC_FREE(mask_str); + talloc_free(mask_str); } /**************************************************************************** @@ -238,7 +238,7 @@ void display_sec_acl(SEC_ACL *sec_acl) } } -void display_acl_type(uint16 type) +void display_acl_type(uint16_t type) { fstring typestr=""; -- cgit