Author: Lukas Geyer <lukas@debian.org>
Description: General code cleanup.

--- sjeng-11.2.orig/utils.c
+++ sjeng-11.2/utils.c
@@ -529,7 +529,8 @@
 
 void hash_extract_pv(int level, char str[])
 {
-  int dummy, bm;
+  int bm, dummy_int;
+  long dummy_long;
   move_s moves[MOVE_BUFF];
   int num_moves;
   char output[STR_BUFF];
@@ -538,7 +539,7 @@
   level--;
   if (!level) return;
   
-  if(ProbeTT(&dummy, 0, 0, &bm, &dummy, &dummy, 0) != HMISS)
+  if(ProbeTT(&dummy_long, 0, 0, &bm, &dummy_int, &dummy_int, 0) != HMISS)
     {
       gen(&moves[0]); 
       num_moves = numb_moves;
@@ -1342,7 +1343,7 @@
     {
       eval();
       /* invalidate the ecache */
-      hash = (++hash) % ULONG_MAX; 
+      ++hash; 
     }
   
   cpu_end = clock ();
