aboutsummaryrefslogtreecommitdiff
path: root/graphics/enblend/files/patch-src__anneal.h
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/enblend/files/patch-src__anneal.h')
-rw-r--r--graphics/enblend/files/patch-src__anneal.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/enblend/files/patch-src__anneal.h b/graphics/enblend/files/patch-src__anneal.h
new file mode 100644
index 000000000000..e116408bb88b
--- /dev/null
+++ b/graphics/enblend/files/patch-src__anneal.h
@@ -0,0 +1,11 @@
+--- src/anneal.h.orig Sun Nov 21 18:23:08 2004
++++ src/anneal.h Mon May 7 21:21:12 2007
+@@ -678,7 +678,7 @@
+
+ localK = stateSpace->size();
+ if (localK < 2) convergedPoints[index] = true;
+- kMax = std::max(kMax, stateProbabilities->size());
++ kMax = std::max((size_t)kMax, stateProbabilities->size());
+
+ }
+