unixsock plugin: fix implicit conversion warning
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Thu, 31 May 2018 14:52:35 +0000 (16:52 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Thu, 31 May 2018 14:52:35 +0000 (16:52 +0200)
commitc4530c96d62e90c2cd66f6d10bf3287ae87bf84e
tree3c5021331fe64d35de361f67e69202c95220e4f8
parentbb9b8606ecc6526d7423a7135a3b8ce7ab5e9fec
unixsock plugin: fix implicit conversion warning

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