Commit 662404812adecefa45f3e4569f05b77cce8edc0f

ckolivas 2011-06-22T15:39:27

Fix deref.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cpu-miner.c b/cpu-miner.c
index f560228..13c92bd 100644
--- a/cpu-miner.c
+++ b/cpu-miner.c
@@ -767,7 +767,7 @@ static inline cl_int queue_kernel_parameters(dev_blk_ctx *blk, cl_kernel *kernel
 	status |= clSetKernelArg(*kernel, num++, sizeof(uint), (void *)&blk->fW01r);
 	status |= clSetKernelArg(*kernel, num++, sizeof(uint), (void *)&blk->fcty_e);
 	status |= clSetKernelArg(*kernel, num++, sizeof(uint), (void *)&blk->fcty_e2);
-	status |= clSetKernelArg(*kernel, num++, sizeof(output), (void *)output);
+	status |= clSetKernelArg(*kernel, num++, sizeof(output), (void *)&output);
 
 	return status;
 }