diff options
| author | Pieter Wuille <[email protected]> | 2013-04-05 18:15:23 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2013-04-05 18:15:23 -0700 |
| commit | 484af4e2d164fc8acef60d09a19d51170e57fe8d (patch) | |
| tree | d405bf3636ccc26b3858c2e5faec8298da209556 /src/util.h | |
| parent | Merge pull request #2443 from Diapolo/Qt_addrbook (diff) | |
| parent | small indentation, space, formatting fixes (no code changes) (diff) | |
| download | discoin-484af4e2d164fc8acef60d09a19d51170e57fe8d.tar.xz discoin-484af4e2d164fc8acef60d09a19d51170e57fe8d.zip | |
Merge pull request #2456 from Diapolo/code-layout
small indentation, space, formatting fixes (no code changes)
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util.h b/src/util.h index 4d7c81be0..0641c4be7 100644 --- a/src/util.h +++ b/src/util.h @@ -419,9 +419,9 @@ extern uint32_t insecure_rand_Rz; extern uint32_t insecure_rand_Rw; static inline uint32_t insecure_rand(void) { - insecure_rand_Rz=36969*(insecure_rand_Rz&65535)+(insecure_rand_Rz>>16); - insecure_rand_Rw=18000*(insecure_rand_Rw&65535)+(insecure_rand_Rw>>16); - return (insecure_rand_Rw<<16)+insecure_rand_Rz; + insecure_rand_Rz = 36969 * (insecure_rand_Rz & 65535) + (insecure_rand_Rz >> 16); + insecure_rand_Rw = 18000 * (insecure_rand_Rw & 65535) + (insecure_rand_Rw >> 16); + return (insecure_rand_Rw << 16) + insecure_rand_Rz; } /** |