From 3249ee32f274883e27460ac5450434c97d43530d Mon Sep 17 00:00:00 2001 From: CodeJuan Date: Thu, 22 Oct 2015 21:48:41 +0800 Subject: Fix compiler warnings of visual studio --- examples/amqps_producer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/amqps_producer.c b/examples/amqps_producer.c index 25f850b..7d3a24b 100644 --- a/examples/amqps_producer.c +++ b/examples/amqps_producer.c @@ -103,7 +103,7 @@ static void send_batch(amqp_connection_state_t conn, { uint64_t stop_time = now_microseconds(); - int total_delta = stop_time - start_time; + int total_delta = (int)(stop_time - start_time); printf("PRODUCER - Message count: %d\n", message_count); printf("Total time, milliseconds: %d\n", total_delta / 1000); -- cgit v1.2.1