mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
autorid: fix discard-const warning in idmap_autorid_init_hwm()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
1da7b5b50c
commit
3c706e9f01
@ -453,7 +453,7 @@ NTSTATUS idmap_autorid_init_hwm(struct db_context *db, const char *hwm)
|
||||
}
|
||||
|
||||
status = dbwrap_trans_do(db, idmap_autorid_init_hwm_action,
|
||||
(void *)hwm);
|
||||
discard_const(hwm));
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
DEBUG(0, ("Error initializing HWM (%s) in autorid database: "
|
||||
"%s\n", hwm, nt_errstr(status)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user