Skip to content

Commit dab85e0

Browse files
gh-76785: Use PRId64 to Fix a Compiler Warning on Windows (gh-116369)
I accidentally introduced the warning in gh-116328.
1 parent edc9d85 commit dab85e0

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)