Change compiler's generate loop counter from int to long.
This matches the type of the values assigned to it, and exposes a bug that
was previously only showing up under Windows.
(cherry picked from commit 67b9374c69)
This commit is contained in:
parent
a317a066af
commit
038fbe609d
|
|
@ -924,7 +924,7 @@ bool PGenerate::generate_scope_loop_(Design*des, NetScope*container)
|
||||||
}
|
}
|
||||||
|
|
||||||
// We're going to need a genvar...
|
// We're going to need a genvar...
|
||||||
int genvar;
|
long genvar;
|
||||||
|
|
||||||
// The initial value for the genvar does not need (nor can it
|
// The initial value for the genvar does not need (nor can it
|
||||||
// use) the genvar itself, so we can evaluate this expression
|
// use) the genvar itself, so we can evaluate this expression
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue