mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
gh-76785: Use PRId64 to Fix a Compiler Warning on Windows (gh-116369)
I accidentally introduced the warning in gh-116328.
This commit is contained in:
parent
edc9d85c68
commit
dab85e0189
1 changed files with 2 additions and 2 deletions
|
@ -750,7 +750,7 @@ _queuerefs_clear(_queueref *head)
|
||||||
|
|
||||||
#ifdef Py_DEBUG
|
#ifdef Py_DEBUG
|
||||||
int64_t qid = ref->qid;
|
int64_t qid = ref->qid;
|
||||||
fprintf(stderr, "queue %ld still exists\n", qid);
|
fprintf(stderr, "queue %" PRId64 " still exists\n", qid);
|
||||||
#endif
|
#endif
|
||||||
_queue *queue = ref->queue;
|
_queue *queue = ref->queue;
|
||||||
GLOBAL_FREE(ref);
|
GLOBAL_FREE(ref);
|
||||||
|
@ -758,7 +758,7 @@ _queuerefs_clear(_queueref *head)
|
||||||
_queue_kill_and_wait(queue);
|
_queue_kill_and_wait(queue);
|
||||||
#ifdef Py_DEBUG
|
#ifdef Py_DEBUG
|
||||||
if (queue->items.count > 0) {
|
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);
|
qid, queue->items.count);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue