Linux build fix
This commit is contained in:
parent
eee969efba
commit
701d8f093a
1 changed files with 4 additions and 0 deletions
|
@ -141,7 +141,11 @@ yescrypt_init_shared(yescrypt_shared_t * shared,
|
|||
|
||||
half1 = half2 = *shared;
|
||||
half1.aligned_size /= 2;
|
||||
#ifdef __unix
|
||||
half2.aligned += half1.aligned_size;
|
||||
#else
|
||||
(uint8_t*)half2.aligned += half1.aligned_size;
|
||||
#endif
|
||||
half2.aligned_size = half1.aligned_size;
|
||||
N /= 2;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue