aboutsummaryrefslogtreecommitdiffstats
path: root/libblake_internal_blake2s_output_digest.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-01-19 22:39:52 +0100
committerMattias Andrée <maandree@kth.se>2022-01-19 22:39:52 +0100
commitcb9fd292424291ef4927f5bceb5910bf52a88a58 (patch)
tree83c6eadf1986d16c87941396accfba360ea4648c /libblake_internal_blake2s_output_digest.c
parentAdd todos about more tests being needed (diff)
downloadlibblake-cb9fd292424291ef4927f5bceb5910bf52a88a58.tar.gz
libblake-cb9fd292424291ef4927f5bceb5910bf52a88a58.tar.bz2
libblake-cb9fd292424291ef4927f5bceb5910bf52a88a58.tar.xz
Fix warnings
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libblake_internal_blake2s_output_digest.c')
-rw-r--r--libblake_internal_blake2s_output_digest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libblake_internal_blake2s_output_digest.c b/libblake_internal_blake2s_output_digest.c
index 6b4a5da..7751c7f 100644
--- a/libblake_internal_blake2s_output_digest.c
+++ b/libblake_internal_blake2s_output_digest.c
@@ -38,7 +38,7 @@ libblake_internal_blake2s_output_digest(struct libblake_blake2s_state *state, si
size_t i, j;
#ifdef LITTLE_ENDIAN
- if ((uint_least32_t)(UINT_LEAST32_C(0xFFFFffff) + 1) == 0) {
+ if (CODE_KILLER((uint_least32_t)(UINT_LEAST32_C(0xFFFFffff) + 1) == 0)) {
/* No noticeable performance benefit on amd64, however
* it signficantly reduces the translation size and
* a 37.5x performance benefit was seen on the 64-bit