summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2024-03-05 18:51:04 (GMT)
committerGitHub <noreply@github.com>2024-03-05 18:51:04 (GMT)
commitdab85e01898ae737ba6197199090a51a6d4dd1fb (patch)
tree0bb91e0f4df24d0f98f58cc3e8b967f396c15225 /Modules
parentedc9d85c68af600431556f3e8edae9b0fbfdfd34 (diff)
downloadcpython-dab85e01898ae737ba6197199090a51a6d4dd1fb.zip
cpython-dab85e01898ae737ba6197199090a51a6d4dd1fb.tar.gz
cpython-dab85e01898ae737ba6197199090a51a6d4dd1fb.tar.bz2
gh-76785: Use PRId64 to Fix a Compiler Warning on Windows (gh-116369)
I accidentally introduced the warning in gh-116328.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_xxinterpqueuesmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_xxinterpqueuesmodule.c b/Modules/_xxinterpqueuesmodule.c
index cb8b9e4..00e49f3 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