Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/BLAKE2/BLAKE2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/power8
diff options
context:
space:
mode:
Diffstat (limited to 'power8')
-rw-r--r--power8/blake2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/power8/blake2.h b/power8/blake2.h
index 53e37c4..2f93e9e 100644
--- a/power8/blake2.h
+++ b/power8/blake2.h
@@ -133,8 +133,8 @@ extern "C" {
/* Padded structs result in a compile-time error */
enum {
- BLAKE2_DUMMY_1 = 1/(sizeof(blake2s_param) == BLAKE2S_OUTBYTES),
- BLAKE2_DUMMY_2 = 1/(sizeof(blake2b_param) == BLAKE2B_OUTBYTES)
+ BLAKE2_DUMMY_1 = 1/(int)(sizeof(blake2s_param) == BLAKE2S_OUTBYTES),
+ BLAKE2_DUMMY_2 = 1/(int)(sizeof(blake2b_param) == BLAKE2B_OUTBYTES)
};
/* Streaming API */