mysql plugin: fix implicit conversion warning
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 1 Jun 2018 12:29:51 +0000 (14:29 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 1 Jun 2018 12:29:51 +0000 (14:29 +0200)
commit7e388b6afd64d36de669b72b3d25c3339f33408c
treeca6721bc622dc0a942930e72d01133c5c719e927
parent99ddbf5989b80ae9eb8aea2a24b28c950d8e7977
mysql plugin: fix implicit conversion warning

  CC       src/mysql_la-mysql.lo
src/mysql.c:366:19: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32]
  int query_len = strlen(query);
      ~~~~~~~~~   ^~~~~~~~~~~~~
1 warning generated.
src/mysql.c