1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-03-09 20:21:01 +00:00

driver-ztex: use the correct size for the swap array

This commit is contained in:
Denis Ahrens 2012-12-13 00:21:21 +01:00
parent 7c01f16593
commit abae6b983a

View File

@ -151,7 +151,7 @@ static bool ztex_checkNonce(struct libztex_device *ztex,
struct libztex_hash_data *hdata)
{
uint32_t *data32 = (uint32_t *)(work->data);
unsigned char swap[128];
unsigned char swap[80];
uint32_t *swap32 = (uint32_t *)swap;
unsigned char hash1[32];
unsigned char hash2[32];