amqp1 plugin: fix sign compare warning
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 29 May 2018 09:23:25 +0000 (11:23 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 29 May 2018 09:23:25 +0000 (11:23 +0200)
commit990752086e35df7e47f46771e82a7e968b40c218
tree09f34ae97502e0a71b99474cc314067a9d0cb05e
parent74eda959ddf653b7d20779d84f0a140e85376726
amqp1 plugin: fix sign compare warning

  CC       src/amqp1_la-amqp1.lo
src/amqp1.c: In function ‘amqp1_send_out_messages’:
src/amqp1.c:138:29: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
       if (DEQ_SIZE(to_send) == link_credit)
                             ^~
src/amqp1.c