oauth.c: fix compiler warning
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 20 Feb 2019 11:06:27 +0000 (12:06 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 20 Feb 2019 11:06:27 +0000 (12:06 +0100)
commit6f2b3abac8ab809d6b0aea58a873bd00c2be4dcc
treefe216a5eeaa7bd36122ed75ae034d96d9f6b1bd6
parentb1bbe317076cd1e52b6a51350f656186c3c80caf
oauth.c: fix compiler warning

make[1]: Entering directory '/home/ruben/src/collectd'
  CC       src/utils/oauth/liboauth_la-oauth.lo
src/utils/oauth/oauth.c: In function ‘get_assertion’:
src/utils/oauth/oauth.c:283:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  283 |   else if (status >= buffer_size)
      |                   ^~
src/utils/oauth/oauth.c