From 957702be9c89f31a184971c5b5ada70fe05042c3 Mon Sep 17 00:00:00 2001 From: Aram Date: Tue, 18 Oct 2016 18:40:51 +0200 Subject: [PATCH] Constant pointer type fix --- crypto1_bs_crack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto1_bs_crack.c b/crypto1_bs_crack.c index d211609..dee13b7 100644 --- a/crypto1_bs_crack.c +++ b/crypto1_bs_crack.c @@ -97,7 +97,7 @@ inline uint64_t crack_states_bitsliced(uint32_t **task){ // set even and rollback bits for(size_t block_idx = 0; block_idx < bitsliced_blocks; ++block_idx){ - const bitslice_t const * restrict bitsliced_even_state = bitsliced_even_states[block_idx]; + const bitslice_t * const restrict bitsliced_even_state = bitsliced_even_states[block_idx]; size_t state_idx; // set even bits for(state_idx = 0; state_idx < (STATE_SIZE-ROLLBACK_SIZE); state_idx+=2){