Skip to content

Commit

Permalink
gh-76785: Use PRId64 to Fix a Compiler Warning on Windows (gh-116369)
Browse files Browse the repository at this point in the history
I accidentally introduced the warning in gh-116328.
  • Loading branch information
ericsnowcurrently authored Mar 5, 2024
1 parent edc9d85 commit dab85e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/_xxinterpqueuesmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -750,15 +750,15 @@ _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);

_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
Expand Down

0 comments on commit dab85e0

Please sign in to comment.