From 8a2ad873472f46e81774c544939dceaf63b455d9 Mon Sep 17 00:00:00 2001 From: Coda Hale Date: Sun, 22 Dec 2024 17:28:48 -0700 Subject: [PATCH] fix(kemeleon): remove unnecessary parens --- veil/src/kemeleon.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/veil/src/kemeleon.rs b/veil/src/kemeleon.rs index 346e944..a6d7df6 100644 --- a/veil/src/kemeleon.rs +++ b/veil/src/kemeleon.rs @@ -224,7 +224,7 @@ fn ring_compress_and_encode10(f: RingElement) -> [u8; 320] { x |= (compress(f[1], 10) as u64) << 10; x |= (compress(f[2], 10) as u64) << 20; x |= (compress(f[3], 10) as u64) << 30; - b[0] = (x) as u8; + b[0] = x as u8; b[1] = (x >> 8) as u8; b[2] = (x >> 16) as u8; b[3] = (x >> 24) as u8;