From 61b36e933bd92c07632f8d408e8c2acb066899de Mon Sep 17 00:00:00 2001 From: "Matthias J. Kannwischer" Date: Tue, 18 Jun 2019 17:16:32 +0200 Subject: [PATCH] remove wrong cast --- crypto_kem/lightsaber/clean/cbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto_kem/lightsaber/clean/cbd.c b/crypto_kem/lightsaber/clean/cbd.c index cb0d7312..f6ebe4d7 100644 --- a/crypto_kem/lightsaber/clean/cbd.c +++ b/crypto_kem/lightsaber/clean/cbd.c @@ -28,7 +28,7 @@ void PQCLEAN_LIGHTSABER_CLEAN_cbd(uint16_t *r, const unsigned char *buf) { int i, j; for (i = 0; i < SABER_N / 4; i++) { - t = (uint32_t) load_littleendian(buf + 5 * i, 5); + t = load_littleendian(buf + 5 * i, 5); d = 0; for (j = 0; j < 5; j++) { d += (t >> j) & 0x0842108421UL;