summaryrefslogtreecommitdiff
path: root/source3/rpc_server
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/rpc_server
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/rpc_server')
-rw-r--r--source3/rpc_server/srv_samr_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr_util.c b/source3/rpc_server/srv_samr_util.c
index 6797730be9..61160ccaa0 100644
--- a/source3/rpc_server/srv_samr_util.c
+++ b/source3/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);
}