Commit d1ceefee by MyskYko

compiler warning

parent 323229a4
......@@ -163,7 +163,7 @@ namespace NewTt {
if(p.nObjsMaxLog < p.nObjsAllocLog)
throw std::invalid_argument("nObjsMax must not be smaller than nObjsAlloc");
if(nVars >= lww())
nSize = 1 << (nVars - lww());
nSize = 1ull << (nVars - lww());
else
nSize = 1;
if(!nSize)
......
......@@ -1360,7 +1360,7 @@ private: // Setup
if(nVerbose > 3)
std::cout << "\t\t\tImport po " << i << std::endl;
int i0 = Gia_ObjId(pGia, Gia_ObjFanin0(pObj));
bool c0 = Gia_ObjFaninC0(pObj);
int c0 = Gia_ObjFaninC0(pObj);
Connect(nObjs, v[i0] ^ c0);
vPos.push_back(nObjs);
nObjs++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment