From e1ce141bc3123c1dea7eb2ef908c8ebce945c72a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Tue, 24 Nov 2020 18:31:03 +0100 Subject: Use size_t as len type for Meter_UpdateValues Most of the time the parameter is passed to snprintf type functions --- SwapMeter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SwapMeter.c') diff --git a/SwapMeter.c b/SwapMeter.c index 9de7fa35..0f8bb5a4 100644 --- a/SwapMeter.c +++ b/SwapMeter.c @@ -17,7 +17,7 @@ static const int SwapMeter_attributes[] = { SWAP }; -static void SwapMeter_updateValues(Meter* this, char* buffer, int size) { +static void SwapMeter_updateValues(Meter* this, char* buffer, size_t size) { int written; Platform_setSwapValues(this); -- cgit v1.2.3