diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-11-24 18:31:03 +0100 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2020-12-06 16:03:44 +0100 |
commit | e1ce141bc3123c1dea7eb2ef908c8ebce945c72a (patch) | |
tree | 2da1f500777ba003c3ea1d73d97e259f0e099974 /linux/SELinuxMeter.c | |
parent | d9224c66a41e7918570b81d41495870c20380c1d (diff) |
Use size_t as len type for Meter_UpdateValues
Most of the time the parameter is passed to snprintf type functions
Diffstat (limited to 'linux/SELinuxMeter.c')
-rw-r--r-- | linux/SELinuxMeter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/SELinuxMeter.c b/linux/SELinuxMeter.c index a8b07bd3..64a3f2a7 100644 --- a/linux/SELinuxMeter.c +++ b/linux/SELinuxMeter.c @@ -70,7 +70,7 @@ static bool isSelinuxEnforcing(void) { return !!enforce; } -static void SELinuxMeter_updateValues(ATTR_UNUSED Meter* this, char* buffer, int len) { +static void SELinuxMeter_updateValues(ATTR_UNUSED Meter* this, char* buffer, size_t len) { enabled = isSelinuxEnabled(); enforcing = isSelinuxEnforcing(); |