driver-ztex: use the correct size for the swap array
diff --git a/driver-ztex.c b/driver-ztex.c
index 2b8d82e..ba3e7bb 100644
--- a/driver-ztex.c
+++ b/driver-ztex.c
@@ -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];