summaryrefslogtreecommitdiffstats
path: root/HostnameMeter.c
diff options
context:
space:
mode:
Diffstat (limited to 'HostnameMeter.c')
-rw-r--r--HostnameMeter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/HostnameMeter.c b/HostnameMeter.c
index 000bc3fd..af8e3493 100644
--- a/HostnameMeter.c
+++ b/HostnameMeter.c
@@ -19,7 +19,7 @@ static const int HostnameMeter_attributes[] = {
HOSTNAME
};
-static void HostnameMeter_updateValues(Meter* this, char* buffer, int size) {
+static void HostnameMeter_updateValues(Meter* this, char* buffer, size_t size) {
(void) this;
gethostname(buffer, size - 1);
}