VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Crypto/jitterentropy-base.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2021-08-29 15:23:59 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2021-08-30 00:26:57 +0200
commitfb1a4893b8dff55f5669e935a419ea87b41f62f6 (patch)
treef4781d18ef50917ec2b323506401d2d54c7e2109 /src/Crypto/jitterentropy-base.c
parentd9e1d57a5323baa821f9962476929b85677ab469 (diff)
downloadVeraCrypt-fb1a4893b8dff55f5669e935a419ea87b41f62f6.tar.gz
VeraCrypt-fb1a4893b8dff55f5669e935a419ea87b41f62f6.zip
Windows: Fix some VS static analyzed warnings
Diffstat (limited to 'src/Crypto/jitterentropy-base.c')
-rw-r--r--src/Crypto/jitterentropy-base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Crypto/jitterentropy-base.c b/src/Crypto/jitterentropy-base.c
index c25589b0..b7512532 100644
--- a/src/Crypto/jitterentropy-base.c
+++ b/src/Crypto/jitterentropy-base.c
@@ -345,7 +345,7 @@ static uint64_t jent_loop_shuffle(struct rand_data *ec,
* We add a lower boundary value to ensure we have a minimum
* RNG loop count.
*/
- return (shuffle + (1<<min));
+ return (shuffle + (1ULL<<min));
}
/**