diff options
author | Tony Garnock-Jones <tonyg@lshift.net> | 2009-05-07 00:46:20 +0100 |
---|---|---|
committer | Tony Garnock-Jones <tonyg@lshift.net> | 2009-05-07 00:46:20 +0100 |
commit | 1d5d58e90c4801769557f841e0f1d361623b0871 (patch) | |
tree | 19e8c491527d71c8299bf4dc7b40f7065f5f4232 | |
parent | a32fbd1ba39ab1ba9d1e798b1065b59f7f755267 (diff) | |
download | rabbitmq-c-github-ask-1d5d58e90c4801769557f841e0f1d361623b0871.tar.gz |
Correct warning on 64-bit linux
-rw-r--r-- | examples/amqp_listen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/amqp_listen.c b/examples/amqp_listen.c index 3bbb341..975d49f 100644 --- a/examples/amqp_listen.c +++ b/examples/amqp_listen.c @@ -85,8 +85,8 @@ int main(int argc, char const * const *argv) { continue; d = (amqp_basic_deliver_t *) frame.payload.method.decoded; - printf("Delivery %llu, exchange %.*s routingkey %.*s\n", - d->delivery_tag, + printf("Delivery %u, exchange %.*s routingkey %.*s\n", + (unsigned) d->delivery_tag, (int) d->exchange.len, (char *) d->exchange.bytes, (int) d->routing_key.len, (char *) d->routing_key.bytes); |