Browse Source

Bugfix: Initialize work_restart_notifier[1] to INVSOCK instead of -1 to be portable

Luke Dashjr 13 years ago
parent
commit
67d5f25780
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miner.c

+ 1 - 1
miner.c

@@ -8165,7 +8165,7 @@ begin_bench:
 			thr->id = k;
 			thr->cgpu = cgpu;
 			thr->device_thread = j;
-			thr->work_restart_notifier[1] = -1;
+			thr->work_restart_notifier[1] = INVSOCK;
 			thr->_job_transition_in_progress = true;
 			timerclear(&thr->tv_morework);