summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorCodeJuan <CodeJuan@users.noreply.github.com>2015-10-22 21:48:41 +0800
committerAlan Antonuk <alan.antonuk@gmail.com>2015-10-23 23:02:06 -0700
commit3249ee32f274883e27460ac5450434c97d43530d (patch)
treeae416c5a90b9a0e66ca805ee4b78fad5238559b2 /examples
parent8987cb0a727cc10e51efdf8e453f67daa809d160 (diff)
downloadrabbitmq-c-3249ee32f274883e27460ac5450434c97d43530d.tar.gz
Fix compiler warnings of visual studio
Diffstat (limited to 'examples')
-rw-r--r--examples/amqps_producer.c2
1 files changed, 1 insertions, 1 deletions
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);