aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/enblend/files/patch-src__anneal.h
blob: e116408bb88b83e0b50971caa95cdb9518207ac1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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());
 
         }