summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_samsync.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/net_rpc_samsync.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/net_rpc_samsync.c')
-rw-r--r--source3/utils/net_rpc_samsync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_samsync.c b/source3/utils/net_rpc_samsync.c
index 49aef2a23c..3ddfc5c9d9 100644
--- a/source3/utils/net_rpc_samsync.c
+++ b/source3/utils/net_rpc_samsync.c
@@ -429,7 +429,7 @@ sam_account_from_delta(SAM_ACCOUNT *account, SAM_ACCOUNT_INFO *delta)
if (delta->buf_logon_hrs.buffer) {
pstring old, new;
pdb_sethexhours(old, pdb_get_hours(account));
- pdb_sethexhours(new, (const char *)delta->buf_logon_hrs.buffer);
+ pdb_sethexhours(new, delta->buf_logon_hrs.buffer);
if (!strequal(old, new))
pdb_set_hours(account, (const char *)delta->buf_logon_hrs.buffer, PDB_CHANGED);
}