Skip to content

Commit

Permalink
Update pcg_rnd.c
Browse files Browse the repository at this point in the history
  • Loading branch information
pholme committed Jul 29, 2018
1 parent c1f712a commit 6bfef83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcg_rnd.c
Expand Up @@ -69,7 +69,7 @@ uint16_t pcg_16 () {

if (exist) {
exist = 0;
return g.rmem >> 16;
return (uint16_t) g.rmem >> 16;
}
exist = 1;
g.rmem = pcg_32();
Expand Down

0 comments on commit 6bfef83

Please sign in to comment.