From df545d9d5717cd3ca2f1ba6ab744c628876776bf Mon Sep 17 00:00:00 2001 From: Eric Snow Date: Tue, 5 Mar 2024 09:45:31 -0700 Subject: [PATCH] Use PRId64 to fix a compiler warning on Windows. --- Modules/_xxinterpqueuesmodule.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/_xxinterpqueuesmodule.c b/Modules/_xxinterpqueuesmodule.c index cb8b9e4a661d5a..00e49f385ee658 100644 --- a/Modules/_xxinterpqueuesmodule.c +++ b/Modules/_xxinterpqueuesmodule.c @@ -750,7 +750,7 @@ _queuerefs_clear(_queueref *head) #ifdef Py_DEBUG int64_t qid = ref->qid; - fprintf(stderr, "queue %ld still exists\n", qid); + fprintf(stderr, "queue %" PRId64 " still exists\n", qid); #endif _queue *queue = ref->queue; GLOBAL_FREE(ref); @@ -758,7 +758,7 @@ _queuerefs_clear(_queueref *head) _queue_kill_and_wait(queue); #ifdef Py_DEBUG if (queue->items.count > 0) { - fprintf(stderr, "queue %ld still holds %ld items\n", + fprintf(stderr, "queue %" PRId64 " still holds %" PRId64 " items\n", qid, queue->items.count); } #endif