wireless plugin: fix implicit conversion warning
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Thu, 31 May 2018 14:08:55 +0000 (16:08 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Thu, 31 May 2018 14:08:55 +0000 (16:08 +0200)
commit027571a0a8bb157bb3fae85e7bf000ff414cb5cf
treee0fb3ee0bd8712e6fe3fedf65d344834fc34db8d
parentec93698458723f85ea218be947512cf98b3f9be0
wireless plugin: fix implicit conversion warning

  CC       src/wireless.lo
src/wireless.c:106:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
    len = strlen(fields[0]) - 1;
        ~ ~~~~~~~~~~~~~~~~~~^~~
1 warning generated.
src/wireless.c