memcached plugin: fix implicit conversion warning
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 1 Jun 2018 18:12:02 +0000 (20:12 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 1 Jun 2018 18:12:02 +0000 (20:12 +0200)
commit860c077fc3b5afbe9e347a875621f2e2c5d1904d
treee5e2b62687259041a76531086557a02085e14cdd
parent11a4bca1a856d256113efe984d505a4db89d7c3e
memcached plugin: fix implicit conversion warning

  CC       src/memcached.lo
src/memcached.c:478:20: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
    int name_len = strlen(fields[1]);
        ~~~~~~~~   ^~~~~~~~~~~~~~~~~
1 warning generated.
src/memcached.c