]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/main.c
main: fix type confusion in do_reexecute()
authorLennart Poettering <lennart@poettering.net>
Thu, 29 Jul 2021 15:22:03 +0000 (17:22 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 29 Jul 2021 19:14:38 +0000 (21:14 +0200)
commit19fd72df5bcf70c083b07e444976931149432a73
treeaa726a554bb16fe96fa0813da1339314af0a067f
parent7925d693a79cf1e4a3d1539402b3160bb9a3ab12
main: fix type confusion in do_reexecute()

Let's use size_t for stuff we count in memory. This doesn't matter much,
but is certainly more correct and less eyebrow-raising.

Follow-up for: 846f1da465beda990c1c01346311393f485df467

See: https://github.com/systemd/systemd/pull/20273#discussion_r679250180
src/core/main.c