From b4c29562f4eaa9a3b0511f6bf503d66f41bd5671 Mon Sep 17 00:00:00 2001 From: philsmd <921533+philsmd@users.noreply.github.com> Date: Thu, 12 Dec 2019 03:54:49 +0100 Subject: [PATCH] electrum 5: use parenthesis (avoid Intel compiler warning) --- OpenCL/m21800-pure.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenCL/m21800-pure.cl b/OpenCL/m21800-pure.cl index 4706594bd..fc447c94a 100644 --- a/OpenCL/m21800-pure.cl +++ b/OpenCL/m21800-pure.cl @@ -513,7 +513,7 @@ KERNEL_FQ void m21800_comp (KERN_ATTR_TMPS_ESALT (electrum_tmp_t, electrum_t)) // early reject - if (buf[0] & 0x0006ffff != 0x00049c78) return; // allow 0b100 or 0b101 at the end of 3rd byte + if ((buf[0] & 0x0006ffff) != 0x00049c78) return; // allow 0b100 or 0b101 at the end of 3rd byte buf[1] ^= iv[1]; buf[2] ^= iv[2];