diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-11-17 00:00:32 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-11-17 00:52:10 +0100 |
commit | 4a0b58c4a30ecaa61202f845ed86f75b36370cd0 (patch) | |
tree | 1e08b9d596dfb8b4fe3af50315ecf37a7046bb47 /src/machine/machined-dbus.c | |
parent | Merge pull request #1923 from zonque/siphash (diff) | |
download | systemd-4a0b58c4a30ecaa61202f845ed86f75b36370cd0.tar.xz systemd-4a0b58c4a30ecaa61202f845ed86f75b36370cd0.zip |
tree-wide: use right cast macros for UIDs, GIDs and PIDs
Diffstat (limited to 'src/machine/machined-dbus.c')
-rw-r--r-- | src/machine/machined-dbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machined-dbus.c b/src/machine/machined-dbus.c index 4ec6baaa1f..961767c4a9 100644 --- a/src/machine/machined-dbus.c +++ b/src/machine/machined-dbus.c @@ -1508,7 +1508,7 @@ int manager_get_machine_by_pid(Manager *m, pid_t pid, Machine **machine) { assert(pid >= 1); assert(machine); - mm = hashmap_get(m->machine_leaders, UINT_TO_PTR(pid)); + mm = hashmap_get(m->machine_leaders, PID_TO_PTR(pid)); if (!mm) { _cleanup_free_ char *unit = NULL; |