mirror of https://github.com/GOSTSec/sgminer
Browse Source
Introduced by commit 87e5f35745
The cast/ref/deref is performed wrong and breaks share/best share display.
It is not the value of target that should be increased, but its address.
If all else fails, add an `#ifdef _MSVC_VER`; we should avoid it if possible.
In either case, constructs like `&(*(((uint64_t *)target) + 24))` must be
explained (in a comment).
nfactor-troky
Noel Maersk
11 years ago
1 changed files with 6 additions and 5 deletions
Loading…
Reference in new issue