write_sensu plugin: fix implicit conversion
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Thu, 31 May 2018 13:29:08 +0000 (15:29 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Thu, 31 May 2018 13:29:08 +0000 (15:29 +0200)
commit5c35d13ad952c2fbcd3dfa41a77200097e2d2dc8
tree832e3d1d7f45eddd22e87d9db227a4a058ee036e
parent6d481437322ab7caf095d7ed28895fa2b0a3abce
write_sensu plugin: fix implicit conversion

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