summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-06-14 04:02:28 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-06-14 04:02:28 +0000
commita26a4c651310b1a5e4a55117bf1a443220b1c184 (patch)
tree702191bc618fcdc5b2dd4e31dd681f2c629a3141
parent7591cb5ee38ff220aa3363a01f9751ff41732a3d (diff)
downloadsamba-a26a4c651310b1a5e4a55117bf1a443220b1c184.tar.gz
samba-a26a4c651310b1a5e4a55117bf1a443220b1c184.tar.bz2
samba-a26a4c651310b1a5e4a55117bf1a443220b1c184.zip
Kill useless cast
(This used to be commit e2f9dd8b65063a276569d9c33aaf06606003b85c)
-rw-r--r--source3/utils/pdbedit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c
index bc50c3521a..3f359c2f99 100644
--- a/source3/utils/pdbedit.c
+++ b/source3/utils/pdbedit.c
@@ -84,9 +84,9 @@ static int print_sam_info (SAM_ACCOUNT *sam_pwent, BOOL verbosity, BOOL smbpwdst
printf ("User ID/Group ID: %d/%d\n", uid, gid);
}
printf ("User SID: %s\n",
- sid_string_static((DOM_SID *)pdb_get_user_sid(sam_pwent)));
+ sid_string_static(pdb_get_user_sid(sam_pwent)));
printf ("Primary Group SID: %s\n",
- sid_string_static((DOM_SID *)pdb_get_group_sid(sam_pwent)));
+ sid_string_static(pdb_get_group_sid(sam_pwent)));
printf ("Full Name: %s\n", pdb_get_fullname(sam_pwent));
printf ("Home Directory: %s\n", pdb_get_homedir(sam_pwent));
printf ("HomeDir Drive: %s\n", pdb_get_dirdrive(sam_pwent));