Browse Source

scrypt_diff now returns a uint64_t

nfactor-troky
Con Kolivas 12 years ago
parent
commit
53c9cdaf56
  1. 2
      cgminer.c

2
cgminer.c

@ -2262,7 +2262,7 @@ static uint64_t share_diff(const struct work *work)
return ret; return ret;
} }
static uint32_t scrypt_diff(const struct work *work) static uint64_t scrypt_diff(const struct work *work)
{ {
const uint64_t scrypt_diffone = 0x0000ffff00000000ul; const uint64_t scrypt_diffone = 0x0000ffff00000000ul;
uint64_t d64 = work->outputhash, ret; uint64_t d64 = work->outputhash, ret;

Loading…
Cancel
Save