summaryrefslogtreecommitdiffstats
path: root/source/rpc_server
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-03-20 09:23:37 +0000
committerTim Potter <tpot@samba.org>2005-03-20 09:23:37 +0000
commit36320b180c30235b03075fae44a0e03b5ce19cfe (patch)
treeee4c2da205ca8755b58fb06014e720935c187e60 /source/rpc_server
parentd6262b224133c2460034b5282271dfad7442763b (diff)
downloadsamba-36320b180c30235b03075fae44a0e03b5ce19cfe.tar.gz
samba-36320b180c30235b03075fae44a0e03b5ce19cfe.tar.xz
samba-36320b180c30235b03075fae44a0e03b5ce19cfe.zip
r5909: Remove some unecessary casts. Patch from Jason Mader for bugzill #2468.
Diffstat (limited to 'source/rpc_server')
-rw-r--r--source/rpc_server/srv_samr_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_server/srv_samr_util.c b/source/rpc_server/srv_samr_util.c
index 6797730be97..61160ccaa02 100644
--- a/source/rpc_server/srv_samr_util.c
+++ b/source/rpc_server/srv_samr_util.c
@@ -264,7 +264,7 @@ void copy_id21_to_sam_passwd(SAM_ACCOUNT *to, SAM_USER_INFO_21 *from)
DEBUG(15,("INFO_21 LOGON_HRS.HOURS: %s -> %s\n",pdb_get_hours(to),from->logon_hrs.hours));
pdb_sethexhours(old, pdb_get_hours(to));
- pdb_sethexhours(new, (const char *)from->logon_hrs.hours);
+ pdb_sethexhours(new, from->logon_hrs.hours);
if (!strequal(old, new)) {
pdb_set_hours(to, from->logon_hrs.hours, PDB_CHANGED);
}