From ede9fd08cf0ce04528f73c74e2345ba46d26f1e2 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sun, 20 Mar 2005 09:23:37 +0000 Subject: r5909: Remove some unecessary casts. Patch from Jason Mader for bugzill #2468. --- source/utils/net_rpc_samsync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/utils/net_rpc_samsync.c') 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); } -- cgit