summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2015-03-18 22:39:23 -0700
committerAlan Antonuk <alan.antonuk@gmail.com>2015-05-04 23:40:34 -0700
commitcab5da170ab4e4eba621ae9f14711a4f09e9760b (patch)
treed7f0f4d53755a677b107c6f98ae4841193449fd5 /examples
parentf462c0f4a6f471038ceb2097fb0bf4c4776957ac (diff)
downloadrabbitmq-c-cab5da170ab4e4eba621ae9f14711a4f09e9760b.tar.gz
Fix int truncation warnings on Win32
Diffstat (limited to 'examples')
-rw-r--r--examples/amqp_producer.c2
1 files changed, 1 insertions, 1 deletions
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);