From de91793630acb4df4f5782c90656bbe96a9e3953 Mon Sep 17 00:00:00 2001 From: wangmm0220 Date: Tue, 29 Aug 2023 17:20:06 +0800 Subject: [PATCH] fix:compile error --- examples/c/tmq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/c/tmq.c b/examples/c/tmq.c index 3769383bba..15ab4fcfc9 100644 --- a/examples/c/tmq.c +++ b/examples/c/tmq.c @@ -280,7 +280,7 @@ void consume_repeatly(tmq_t* tmq) { code = tmq_offset_seek(tmq, topic_name, p->vgId, p->begin); if (code != 0) { - fprintf(stderr, "failed to seek to %lld, reason:%s", p->begin, tmq_err2str(code)); + fprintf(stderr, "failed to seek to %d, reason:%s", (int)p->begin, tmq_err2str(code)); } }