1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-22 20:44:19 +00:00

Update miner.h

Variable declaration. VS seems to like size_t instead of int for certain variables.
This commit is contained in:
Bllacky 2014-04-09 22:13:17 +03:00 committed by Noel Maersk
parent b3d483a035
commit 942c6714fa

View File

@ -1286,12 +1286,12 @@ struct pool {
uint32_t curtime; uint32_t curtime;
uint32_t gbt_bits; uint32_t gbt_bits;
unsigned char *txn_hashes; unsigned char *txn_hashes;
int gbt_txns; size_t gbt_txns;
int coinbase_len; size_t coinbase_len;
/* Shared by both stratum & GBT */ /* Shared by both stratum & GBT */
unsigned char *coinbase; unsigned char *coinbase;
int nonce2_offset; size_t nonce2_offset;
unsigned char header_bin[128]; unsigned char header_bin[128];
int merkle_offset; int merkle_offset;