From b5822c7d9549c2e541a7165c48c5587b7dc19359 Mon Sep 17 00:00:00 2001 From: subtly Date: Wed, 20 May 2015 10:10:56 +0200 Subject: [PATCH] Change c_zero to non-static as macos can't enqueue with static const ptr. --- libethash-cl/ethash_cl_miner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libethash-cl/ethash_cl_miner.cpp b/libethash-cl/ethash_cl_miner.cpp index be17ba449..97443ce77 100644 --- a/libethash-cl/ethash_cl_miner.cpp +++ b/libethash-cl/ethash_cl_miner.cpp @@ -304,7 +304,7 @@ void ethash_cl_miner::search(uint8_t const* header, uint64_t target, search_hook }; std::queue pending; - static uint32_t const c_zero = 0; + uint32_t const c_zero = 0; // update header constant buffer m_queue.enqueueWriteBuffer(m_header, false, 0, 32, header);