Fix Ubuntu 15.04 compile warning.
This commit is contained in:
parent
7312de6bc2
commit
b66e1bdb9e
|
|
@ -1577,7 +1577,7 @@ V3Number& V3Number::opSelInto (const V3Number& lhs, int lsbval, int width) {
|
||||||
// this[lsbval+width-1 : lsbval] = lhs; Other bits of this are not affected
|
// this[lsbval+width-1 : lsbval] = lhs; Other bits of this are not affected
|
||||||
int ibit=0;
|
int ibit=0;
|
||||||
for(int bit=lsbval; bit<lsbval+width; bit++) {
|
for(int bit=lsbval; bit<lsbval+width; bit++) {
|
||||||
if (ibit>=0 && ibit<(uint32_t)lhs.width()) {
|
if (ibit>=0 && ibit<lhs.width()) {
|
||||||
setBit(bit,lhs.bitIs(ibit));
|
setBit(bit,lhs.bitIs(ibit));
|
||||||
} else {
|
} else {
|
||||||
setBit(bit,'x');
|
setBit(bit,'x');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue