Skip to content

Conversation

@Girgias
Copy link
Member

@Girgias Girgias commented Mar 25, 2020

From what I gathered the value received is a signed integer so I changed that instead of removing the if (idx >= 0) { condition which would be always true if idx is an unsigned integer.

{
if ((tssa->var_info[phi_var].type & MAY_BE_ANY) == MAY_BE_LONG) {
uint32_t idx = tssa->vars[var].definition;
int32_t idx = tssa->vars[var].definition;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be just int, as that's the type of definition.

@php-pulls php-pulls closed this in 3e6667d Mar 25, 2020
@Girgias Girgias deleted the fix-jit-Wtype-limits-warning branch March 25, 2020 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants