From be8b631b7a587aa781245e14c8cca32970e1be5b Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sat, 12 Jun 2021 16:11:59 +0300 Subject: Add more const modifiers. (GH-26691) --- Python/specialize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/specialize.c') diff --git a/Python/specialize.c b/Python/specialize.c index 1801e6620f..d82122dfad 100644 --- a/Python/specialize.c +++ b/Python/specialize.c @@ -120,7 +120,7 @@ oparg_from_instruction_and_update_offset(int index, int opcode, int original_opa } static int -entries_needed(_Py_CODEUNIT *code, int len) +entries_needed(const _Py_CODEUNIT *code, int len) { int cache_offset = 0; int previous_opcode = -1; -- cgit v1.2.1