You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In attempting to compile using VS, I noticed some type issues in Cryptonight. Some are probably benign, but sometimes the conversion is from a uint64 to a uint32, that makes me worried a bit. Any thoughts much appreciated...
Severity Code Description Project File Line Suppression State
Error C2664 'void CNKeccak(uint64_t *,uint64_t *,uint32_t)' : cannot convert argument 2 from 'uint8_t *' to 'uint64_t *' sgminer C:\msys64\home\timuy\Projects\sgminer-gm\algorithm\cryptonight.c 213
Error C2664 'void CNAESTransform(uint32_t *,const uint32_t *)' : cannot convert argument 1 from 'uint64_t *' to 'uint32_t *' sgminer C:\msys64\home\timuy\Projects\sgminer-gm\algorithm\cryptonight.c 229
Error C2664 'void CNAESRnd(uint32_t *,const uint32_t *)' : cannot convert argument 1 from 'uint64_t [2]' to 'uint32_t *' sgminer C:\msys64\home\timuy\Projects\sgminer-gm\algorithm\cryptonight.c 245
Error C2664 'void CNAESTransform(uint32_t *,const uint32_t *)' : cannot convert argument 1 from 'uint64_t *' to 'uint32_t *' sgminer C:\msys64\home\timuy\Projects\sgminer-gm\algorithm\cryptonight.c 279
Error C2664 'void cryptonight(uint8_t *,uint8_t *,uint32_t,int)' : cannot convert argument 1 from 'uint32_t *' to 'uint8_t *' sgminer C:\msys64\home\timuy\Projects\sgminer-gm\algorithm\cryptonight.c 333
The text was updated successfully, but these errors were encountered:
In attempting to compile using VS, I noticed some type issues in Cryptonight. Some are probably benign, but sometimes the conversion is from a uint64 to a uint32, that makes me worried a bit. Any thoughts much appreciated...
The text was updated successfully, but these errors were encountered: