mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Fix build for -current
Submitted by: bento
This commit is contained in:
parent
c0d543be03
commit
aad9609aa9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71547
2 changed files with 22 additions and 0 deletions
11
cad/qmls/files/patch-mccluskey.cpp
Normal file
11
cad/qmls/files/patch-mccluskey.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- qmls/mccluskey.cpp.orig Wed Dec 11 21:46:22 2002
|
||||
+++ qmls/mccluskey.cpp Wed Dec 11 21:47:15 2002
|
||||
@@ -200,7 +200,7 @@
|
||||
value = primeImplicants[implicants[i]]->ValueAt(0);
|
||||
diffBits = primeImplicants[implicants[i]]->GetDiffBits(numDiffBits);
|
||||
|
||||
- mask = (unum)pow(2,numBits-1);
|
||||
+ mask = (unum)pow(2.0,(int)numBits-1);
|
||||
for (int j=(int)numBits-1; j>=0; j--)
|
||||
{
|
||||
bool dBit=false;
|
11
cad/qmls/files/patch-quinegroup.cpp
Normal file
11
cad/qmls/files/patch-quinegroup.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- qmls/quinegroup.cpp.orig Wed Dec 11 21:42:49 2002
|
||||
+++ qmls/quinegroup.cpp Wed Dec 11 21:44:24 2002
|
||||
@@ -111,7 +111,7 @@
|
||||
unsigned int headData = head->GetData();
|
||||
for (i=0; i<numDiffBits; i++)
|
||||
{
|
||||
- unsigned int numToSkip = (unsigned int)pow(2,i);
|
||||
+ unsigned int numToSkip = (unsigned int)pow(2.0,(int)i);
|
||||
diffBits[i] = ValueAt(numToSkip) - headData;
|
||||
}
|
||||
|
Loading…
Add table
Reference in a new issue