df plugin: fix implicit conversion warning
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 1 Jun 2018 17:15:46 +0000 (19:15 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 1 Jun 2018 17:15:46 +0000 (19:15 +0200)
commitf650263a946b9d7a0dca786948df448d32ef1f9b
tree0717a73c7df1aa0a646e3b3b23deb9dde3175c6a
parentf6e419ba6ceeb7c1da5cb1432d8e7347e8bc6fbc
df plugin: fix implicit conversion warning

  CC       src/df.lo
src/df.c:231:15: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
        len = strlen(disk_name);
            ~ ^~~~~~~~~~~~~~~~~
1 warning generated.
src/df.c