Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Avoid implicit cast
  • Loading branch information
markshannon committed Jan 22, 2026
commit 4f5f3e77edc4c8c87ff89971d463e8f11cd43115
4 changes: 2 additions & 2 deletions Include/internal/pycore_optimizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ uop_buffer_last(_PyJitUopBuffer *trace)
static inline int
uop_buffer_length(_PyJitUopBuffer *trace)
{
return trace->next - trace->start;
return (int)(trace->next - trace->start);
}

static inline int
uop_buffer_remaining_space(_PyJitUopBuffer *trace)
{
return trace->end - trace->next;
return (int)(trace->end - trace->next);
}

typedef struct _PyJitTracerInitialState {
Expand Down
Loading