aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2013-04-04 11:30:55 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2013-04-06 02:29:33 +0200
commitb001c871260420c6638d20c1d5039007e235d66c (patch)
treeee98fa7da0236fa4d60cb5615c2b30b9f7a8b078 /src/util.h
parent430cbad4112781e90f9c5d87443b0b5f7c2a4a08 (diff)
small indentation, space, formatting fixes (no code changes)
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util.h b/src/util.h
index 4d7c81be0b..0641c4be7c 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;
}
/**