mirror of
https://github.com/systemd/systemd.git
synced 2025-01-06 17:18:12 +03:00
sd-bus: use size_t when dealing with memory offsets
This commit is contained in:
parent
5f00c5684f
commit
3cae6c21e7
@ -649,7 +649,7 @@ _public_ int sd_bus_creds_get_description(sd_bus_creds *c, const char **ret) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int has_cap(sd_bus_creds *c, unsigned offset, int capability) {
|
||||
static int has_cap(sd_bus_creds *c, size_t offset, int capability) {
|
||||
size_t sz;
|
||||
|
||||
assert(c);
|
||||
|
Loading…
Reference in New Issue
Block a user