From 0987a053d3a1f69ad92271d2981c15a8286fec87 Mon Sep 17 00:00:00 2001 From: pat Date: Thu, 12 Dec 2002 04:25:32 +0000 Subject: Fix build for -current Submitted by: bento --- cad/qmls/files/patch-mccluskey.cpp | 11 +++++++++++ cad/qmls/files/patch-quinegroup.cpp | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 cad/qmls/files/patch-mccluskey.cpp create mode 100644 cad/qmls/files/patch-quinegroup.cpp (limited to 'cad') diff --git a/cad/qmls/files/patch-mccluskey.cpp b/cad/qmls/files/patch-mccluskey.cpp new file mode 100644 index 0000000..5774686 --- /dev/null +++ b/cad/qmls/files/patch-mccluskey.cpp @@ -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; diff --git a/cad/qmls/files/patch-quinegroup.cpp b/cad/qmls/files/patch-quinegroup.cpp new file mode 100644 index 0000000..2d815d3 --- /dev/null +++ b/cad/qmls/files/patch-quinegroup.cpp @@ -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