]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-116386: Fix format string "%ld" warning in `_xxinterpqueuesmodule` (#116387)
authorNikita Sobolev <mail@sobolevn.me>
Thu, 7 Mar 2024 06:44:26 +0000 (09:44 +0300)
committerGitHub <noreply@github.com>
Thu, 7 Mar 2024 06:44:26 +0000 (09:44 +0300)
Modules/_xxinterpqueuesmodule.c

index 00e49f385ee65808bf6fe4a1856bdcc4328589b5..96f6eeeea94b5e4782fe5ad83b44bd37fbe61df0 100644 (file)
@@ -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