Browse Source

Merge commit '111c9ef' into bfgminer-3.10.x

Luke Dashjr 12 years ago
parent
commit
b3e8310b74
2 changed files with 2 additions and 2 deletions
  1. 1 1
      driver-klondike.c
  2. 1 1
      miner.h

+ 1 - 1
driver-klondike.c

@@ -1055,7 +1055,7 @@ static void klondike_check_nonce(struct cgpu_info *klncgpu, KLIST *kitem)
 			klncgpu->drv->name, klncgpu->device_id, (int)(kline->wr.dev),
 			kline->wr.workid, (unsigned int)nonce);
 
-	//inc_hw_errors(klncgpu->thr[0]);
+	inc_hw_errors2(klncgpu->thr[0], NULL, &nonce);
 }
 
 // thread to keep looking for replies

+ 1 - 1
miner.h

@@ -1380,7 +1380,7 @@ struct work {
 
 	// Allow devices to identify work if multiple sub-devices
 	// DEPRECATED: New code should be using multiple processors instead
-	unsigned char	subid;
+	int		subid;
 	
 	// Allow devices to timestamp work for their own purposes
 	struct timeval	tv_stamp;