Skip to content

Commit

Permalink
pythongh-76785: Use PRId64 to Fix a Compiler Warning on Windows (pyth…
Browse files Browse the repository at this point in the history
…ongh-116369)

I accidentally introduced the warning in pythongh-116328.
  • Loading branch information
ericsnowcurrently authored and diegorusso committed Apr 17, 2024
1 parent f65e3ab commit b50e523
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 b50e523

Please sign in to comment.