1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

r5909: Remove some unecessary casts. Patch from Jason Mader for bugzill #2468.

This commit is contained in:
Tim Potter
2005-03-20 09:23:37 +00:00
committed by Gerald (Jerry) Carter
parent f6db0f5e8a
commit ede9fd08cf
3 changed files with 3 additions and 3 deletions

View File

@ -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);
}