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.
This commit is contained in:
parent
71c36d1289
commit
67b9374c69
|
|
@ -971,7 +971,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