https://github.com/python/cpython/commit/40b79efae7f8e1e0d4fd50c13f8b7514203bc6da
commit: 40b79efae7f8e1e0d4fd50c13f8b7514203bc6da
branch: main
author: Nikita Sobolev <[email protected]>
committer: sobolevn <[email protected]>
date: 2024-03-07T09:44:26+03:00
summary:

gh-116386: Fix format string "%ld" warning in `_xxinterpqueuesmodule` (#116387)

files:
M Modules/_xxinterpqueuesmodule.c

diff --git a/Modules/_xxinterpqueuesmodule.c b/Modules/_xxinterpqueuesmodule.c
index 00e49f385ee658..96f6eeeea94b5e 100644
--- a/Modules/_xxinterpqueuesmodule.c
+++ b/Modules/_xxinterpqueuesmodule.c
@@ -758,7 +758,7 @@ _queuerefs_clear(_queueref *head)
         _queue_kill_and_wait(queue);
 #ifdef Py_DEBUG
     if (queue->items.count > 0) {
-        fprintf(stderr, "queue %" PRId64 " still holds %" PRId64 " items\n",
+        fprintf(stderr, "queue %" PRId64 " still holds %zd items\n",
                 qid, queue->items.count);
     }
 #endif

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to