From a12b9090a9472e697ea4ce4ea436b7f07038deab Mon Sep 17 00:00:00 2001 From: Nick Little Date: Thu, 5 Sep 2019 13:14:21 -0500 Subject: [PATCH] Fix VS 2017 build --- src/rdkafka_msgset_reader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rdkafka_msgset_reader.c b/src/rdkafka_msgset_reader.c index ed40db8665..ce280d6bd5 100644 --- a/src/rdkafka_msgset_reader.c +++ b/src/rdkafka_msgset_reader.c @@ -1540,7 +1540,7 @@ rd_kafka_aborted_txns_next_offset (rd_kafka_aborted_txns_t *aborted_txns, static RD_INLINE int64_t rd_kafka_aborted_txns_pop_offset (rd_kafka_aborted_txns_t *aborted_txns, int64_t pid) { - return rd_kafka_aborted_txns_next_offset(aborted_txns, pid, true); + return rd_kafka_aborted_txns_next_offset(aborted_txns, pid, rd_true); } @@ -1554,7 +1554,7 @@ static RD_INLINE int64_t rd_kafka_aborted_txns_get_offset (const rd_kafka_aborted_txns_t *aborted_txns, int64_t pid) { return rd_kafka_aborted_txns_next_offset( - (rd_kafka_aborted_txns_t *)aborted_txns, pid, false); + (rd_kafka_aborted_txns_t *)aborted_txns, pid, rd_false); }