1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

messaging_dgm: Remove an unnecessary cast

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Volker Lendecke 2014-09-09 21:45:58 +02:00 committed by Stefan Metzmacher
parent 0cd4561ab1
commit 188120b08c

View File

@ -85,8 +85,7 @@ static int messaging_dgm_lockfile_create(TALLOC_CTX *tmp_ctx,
return ret;
}
lockfile_name = messaging_dgm_lockfile_name(tmp_ctx, cache_dir,
(unsigned)pid);
lockfile_name = messaging_dgm_lockfile_name(tmp_ctx, cache_dir, pid);
if (lockfile_name == NULL) {
return ENOMEM;
}