tags 387876 +patch
thanks
Hello,
with the attached patch 'tulip' can be compiled on amd64.
Regards
Andreas Jochens
diff -urN ../tmp-orig/tulip-2.0.5/library/tulip/src/PlanarityTest.cpp
./library/tulip/src/PlanarityTest.cpp
--- ../tmp-orig/tulip-2.0.5/library/tulip/src/PlanarityTest.cpp 2006-05-17
15:52:03.000000000 +0000
+++ ./library/tulip/src/PlanarityTest.cpp 2006-09-17 11:43:42.000000000
+0000
@@ -57,10 +57,10 @@
//=================================================================
bool PlanarityTest::compute(SuperGraph *graph) {
- if (resultsBuffer.find((unsigned int)graph)!=resultsBuffer.end())
- return resultsBuffer[(unsigned int)graph];
+ if (resultsBuffer.find((unsigned long)graph)!=resultsBuffer.end())
+ return resultsBuffer[(unsigned long)graph];
else if(graph->numberOfNodes()==0){
- resultsBuffer[(unsigned int)graph] = true;
+ resultsBuffer[(unsigned long)graph] = true;
return true;
}
vector<edge> addedEdges;
diff -urN ../tmp-orig/tulip-2.0.5/library/tulip/src/TreeTest.cpp
./library/tulip/src/TreeTest.cpp
--- ../tmp-orig/tulip-2.0.5/library/tulip/src/TreeTest.cpp 2006-05-18
06:29:45.000000000 +0000
+++ ./library/tulip/src/TreeTest.cpp 2006-09-17 11:27:25.000000000 +0000
@@ -38,7 +38,7 @@
void TreeTest::makeRootedTree(SuperGraph *graph, node root) {
if (instance==0) instance=new TreeTest();
graph->removeObserver(instance);
- instance->resultsBuffer.erase((unsigned int)graph);
+ instance->resultsBuffer.erase((unsigned long)graph);
if (!graph->isElement (root)) {
cerr << "makeRootedTree: Passed root is not element of graph" << endl;
return;
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]