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
gh-117549: Match declaration order for _Py_BackoffCounter initializer
  • Loading branch information
mdboom committed Apr 4, 2024
commit 6ff5f5df710876bcfb6649be8abfd716a665acaa
2 changes: 1 addition & 1 deletion Include/internal/pycore_backoff.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ make_backoff_counter(uint16_t value, uint16_t backoff)
{
assert(backoff <= 15);
assert(value <= 0xFFF);
return (_Py_BackoffCounter){.value = value, .backoff = backoff};
return (_Py_BackoffCounter){.backoff = backoff, .value = value};
}

static inline _Py_BackoffCounter
Expand Down