From 942c6714faac2fc72ae316c8f626e439aa2f7700 Mon Sep 17 00:00:00 2001 From: Bllacky Date: Wed, 9 Apr 2014 22:13:17 +0300 Subject: [PATCH] Update miner.h Variable declaration. VS seems to like size_t instead of int for certain variables. --- miner.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/miner.h b/miner.h index bcc837e2..1b89d01f 100644 --- a/miner.h +++ b/miner.h @@ -1286,12 +1286,12 @@ struct pool { uint32_t curtime; uint32_t gbt_bits; unsigned char *txn_hashes; - int gbt_txns; - int coinbase_len; + size_t gbt_txns; + size_t coinbase_len; /* Shared by both stratum & GBT */ unsigned char *coinbase; - int nonce2_offset; + size_t nonce2_offset; unsigned char header_bin[128]; int merkle_offset;