summaryrefslogtreecommitdiff
path: root/source3/utils/pdbedit.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-03-20 09:23:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:08 -0500
commit5d88feaaad77bbb8a172c911624ccb07d6050da4 (patch)
treeccfc6de03073f2d09c097906373ca728855a82ec /source3/utils/pdbedit.c
parent0fcb427f78cbce93be85720656c767f545cd84ff (diff)
downloadsamba-5d88feaaad77bbb8a172c911624ccb07d6050da4.tar.gz
samba-5d88feaaad77bbb8a172c911624ccb07d6050da4.tar.bz2
samba-5d88feaaad77bbb8a172c911624ccb07d6050da4.zip
r5909: Remove some unecessary casts. Patch from Jason Mader for bugzill #2468.
(This used to be commit ede9fd08cf0ce04528f73c74e2345ba46d26f1e2)
Diffstat (limited to 'source3/utils/pdbedit.c')
-rw-r--r--source3/utils/pdbedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c
index e0d48edc56..88ec6b1f4f 100644
--- a/source3/utils/pdbedit.c
+++ b/source3/utils/pdbedit.c
@@ -175,7 +175,7 @@ static int print_sam_info (SAM_ACCOUNT *sam_pwent, BOOL verbosity, BOOL smbpwdst
pdb_get_bad_password_count(sam_pwent));
hours = pdb_get_hours(sam_pwent);
- pdb_sethexhours(temp, (const char *)hours);
+ pdb_sethexhours(temp, hours);
printf ("Logon hours : %s\n", temp);
} else if (smbpwdstyle) {