]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd/sd-bus/sd-bus.c
sd-bus: make rqueue/wqueue sizes of type size_t
authorLennart Poettering <lennart@poettering.net>
Thu, 17 Jan 2019 17:13:03 +0000 (18:13 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 1 Mar 2019 14:19:45 +0000 (15:19 +0100)
commit143d4e045a798ccc87889b2a8a60d7fbe44be441
tree4e72ca28a61ffe90d5d2b9b8b7ef9267c1081855
parent2fe9a10d7695c4c3a748969a0d1662c624e50e5e
sd-bus: make rqueue/wqueue sizes of type size_t

Let's do this like we usually do and size arrays with size_t.

We already do this for the "allocated" counter correctly, and externally
we expose the queue sizes as uint64_t anyway, hence there's really no
point in usigned "unsigned" internally.
src/libsystemd/sd-bus/bus-internal.h
src/libsystemd/sd-bus/sd-bus.c