Skip to content

Commit b50e523

Browse files
ericsnowcurrentlydiegorusso
authored andcommitted
pythongh-76785: Use PRId64 to Fix a Compiler Warning on Windows (pythongh-116369)
I accidentally introduced the warning in pythongh-116328.
1 parent f65e3ab commit b50e523

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_xxinterpqueuesmodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,15 +750,15 @@ _queuerefs_clear(_queueref *head)
750750

751751
#ifdef Py_DEBUG
752752
int64_t qid = ref->qid;
753-
fprintf(stderr, "queue %ld still exists\n", qid);
753+
fprintf(stderr, "queue %" PRId64 " still exists\n", qid);
754754
#endif
755755
_queue *queue = ref->queue;
756756
GLOBAL_FREE(ref);
757757

758758
_queue_kill_and_wait(queue);
759759
#ifdef Py_DEBUG
760760
if (queue->items.count > 0) {
761-
fprintf(stderr, "queue %ld still holds %ld items\n",
761+
fprintf(stderr, "queue %" PRId64 " still holds %" PRId64 " items\n",
762762
qid, queue->items.count);
763763
}
764764
#endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy