Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Use PRId64 to fix a compiler warning on Windows.
  • Loading branch information
ericsnowcurrently committed Mar 5, 2024
commit df545d9d5717cd3ca2f1ba6ab744c628876776bf
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