Skip to content

Commit

Permalink
use Val_false directly
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesm committed Jan 16, 2025
1 parent 80a30a5 commit 7c7db2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/native/entropy_cpu_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ CAMLprim value mc_cpu_rdseed (value buf, value off) {
/* ARM: CPU-assisted randomness here. */
(void)buf;
(void)off;
return Val_bool (0);
return Val_false;
#endif
}

Expand All @@ -257,7 +257,7 @@ CAMLprim value mc_cpu_rdrand (value buf, value off) {
/* ARM: CPU-assisted randomness here. */
(void)buf;
(void)off;
return Val_bool (0);
return Val_false;
#endif
}

Expand Down

0 comments on commit 7c7db2b

Please sign in to comment.