Skip to content

Commit

Permalink
Put rand bitmask in the right place
Browse files Browse the repository at this point in the history
It won't really make any difference.
  • Loading branch information
TurkeyMcMac committed Mar 7, 2021
1 parent 9aed766 commit bc8953d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rand.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
RAND_TYPE rand_gen(RAND_TYPE *rand)
{
/* LCG: */
*rand = (MAX_RAND & (1103515245UL * *rand)) + 12345;
*rand = (*rand * 1103515245UL + 12345) & MAX_RAND;
return *rand;
}
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/* The version of the program: */
#define VERSION "0.5.5"
#define VERSION "0.5.6"

0 comments on commit bc8953d

Please sign in to comment.