From cab5da170ab4e4eba621ae9f14711a4f09e9760b Mon Sep 17 00:00:00 2001 From: Alan Antonuk Date: Wed, 18 Mar 2015 22:39:23 -0700 Subject: Fix int truncation warnings on Win32 --- examples/amqp_producer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/amqp_producer.c b/examples/amqp_producer.c index 948d8f6..b6fca58 100644 --- a/examples/amqp_producer.c +++ b/examples/amqp_producer.c @@ -101,7 +101,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