From 662404812adecefa45f3e4569f05b77cce8edc0f Mon Sep 17 00:00:00 2001 From: ckolivas Date: Wed, 22 Jun 2011 15:39:27 +1000 Subject: [PATCH] Fix deref. --- cpu-miner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu-miner.c b/cpu-miner.c index f560228a..13c92bd3 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; }