summaryrefslogtreecommitdiff
path: root/src/split.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/split.c')
-rwxr-xr-xsrc/split.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/split.c b/src/split.c
index b3fc659..28d5ce0 100755
--- a/src/split.c
+++ b/src/split.c
@@ -156,8 +156,8 @@ Return value:
SEARCHER_THREAD_CONTEXT *ctx = &(g_HelperThreads[uMyId].ctx);
ULONG u, v;
MOVE mv;
- ULONG uIdleLoops = 0;
#ifdef PERF_COUNTERS
+ ULONG uIdleLoops = 0;
UINT64 u64Then;
UINT64 u64Now;
#endif
@@ -179,7 +179,9 @@ Return value:
//
// By now the split info is populated.
//
+#ifdef PERF_COUNTERS
uIdleLoops = 0;
+#endif
ReInitializeSearcherContext(&(g_SplitInfo[u].sRootPosition), ctx);
ctx->pSplitInfo[0] = &(g_SplitInfo[u]);
@@ -212,9 +214,9 @@ Return value:
{
UtilPanic(CANNOT_INITIALIZE_SPLIT,
&ctx->sPosition,
- (void *)mv.uMove,
+ (void *)(size_t)mv.uMove,
&g_SplitInfo[u],
- (void *)v,
+ (void *)(size_t)v,
__FILE__, __LINE__);
}
v++;
@@ -1056,7 +1058,6 @@ Return value:
SCORE iAlpha = 0;
SCORE iBeta;
SCORE iBestScore = 0;
- SCORE iRoughEval;
ULONG uOrigDepth;
ULONG uDepth;
ULONG uMoveNum = 0;