]> git.ipfire.org Git - thirdparty/systemd.git/commit
journal: fix some type confusion in journal_directory_vacuum()
authorLennart Poettering <lennart@poettering.net>
Thu, 25 Oct 2018 15:40:41 +0000 (17:40 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 25 Oct 2018 19:43:09 +0000 (21:43 +0200)
commit180e7f4e628ad8829b815d69f0b0d9ce1eee5dec
tree9ab5b9f94f5a804e33dda741ccfd961ef9edcf1e
parentab41da087d6c86377594265d634b65bd52b81b78
journal: fix some type confusion in journal_directory_vacuum()

Let's store array sizes and indexes in size_t. And let's count numbers
of files in uint64_t (simply because that is the type of the input
parameter for this of the function)
src/journal/journal-vacuum.c