diff options
author | Nathan Scott <nathans@redhat.com> | 2020-12-07 11:41:22 +1100 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2020-12-07 11:41:22 +1100 |
commit | b92cfa7d7ac09b4e8a3c377496edd49228221f72 (patch) | |
tree | aefa244b8140e21e2d02018e57c7b9fa0c7d23ec /HostnameMeter.c | |
parent | 57d9ecc5519a44d4d08f1739ab4b741ccfc2d35a (diff) | |
parent | ad764ff972082608604634c84e5427e7bfdcda1a (diff) |
Merge branch 'conversion' of https://github.com/cgzones/htop into cgzones-conversion
Diffstat (limited to 'HostnameMeter.c')
-rw-r--r-- | HostnameMeter.c | 2 |
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); } |