summaryrefslogtreecommitdiff
path: root/librabbitmq/amqp_connection.c
diff options
context:
space:
mode:
authorDavid Wragg <david@rabbitmq.com>2010-10-21 17:49:04 +0100
committerDavid Wragg <david@rabbitmq.com>2010-10-21 17:49:04 +0100
commitb4e92fd12d58e3baf3bc091114fcc57b88400544 (patch)
treea50d4047f6f192e4006764b7e43fe1410b59d961 /librabbitmq/amqp_connection.c
parente8ddb5e6758dcb888d1f6aef754a33fd7ba7a2cb (diff)
downloadrabbitmq-c-github-ask-b4e92fd12d58e3baf3bc091114fcc57b88400544.tar.gz
Pass "-ansi -pedantic" to gcc, so it tells us when we stray from C90
And fix up the resulting warnings We don't use "-ansi -pedantic" in the tools dir, because that code relies on libpopt, and so is unlikely ever to work with the Microsoft compiler anyway.
Diffstat (limited to 'librabbitmq/amqp_connection.c')
-rw-r--r--librabbitmq/amqp_connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/librabbitmq/amqp_connection.c b/librabbitmq/amqp_connection.c
index 8b9ace6..34d12f8 100644
--- a/librabbitmq/amqp_connection.c
+++ b/librabbitmq/amqp_connection.c
@@ -366,7 +366,7 @@ int amqp_send_frame(amqp_connection_state_t state,
/* For a body frame, rather than copying data around, we use
writev to compose the frame */
struct iovec iov[3];
- char frame_end_byte = AMQP_FRAME_END;
+ uint8_t frame_end_byte = AMQP_FRAME_END;
const amqp_bytes_t *body = &frame->payload.body_fragment;
amqp_e32(out_frame, 3, body->len);