diff options
author | Tim Potter <tpot@samba.org> | 2005-03-20 09:23:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:08 -0500 |
commit | ede9fd08cf0ce04528f73c74e2345ba46d26f1e2 (patch) | |
tree | ee4c2da205ca8755b58fb06014e720935c187e60 /source/utils/net_rpc_samsync.c | |
parent | f6db0f5e8aaa8cfc65031d19a231f7a5a68796a7 (diff) | |
download | samba-ede9fd08cf0ce04528f73c74e2345ba46d26f1e2.tar.gz samba-ede9fd08cf0ce04528f73c74e2345ba46d26f1e2.tar.xz samba-ede9fd08cf0ce04528f73c74e2345ba46d26f1e2.zip |
r5909: Remove some unecessary casts. Patch from Jason Mader for bugzill #2468.
Diffstat (limited to 'source/utils/net_rpc_samsync.c')
-rw-r--r-- | source/utils/net_rpc_samsync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/utils/net_rpc_samsync.c b/source/utils/net_rpc_samsync.c index 49aef2a23cd..3ddfc5c9d9b 100644 --- a/source/utils/net_rpc_samsync.c +++ b/source/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); } |