diff options
author | iphydf <iphydf@users.noreply.github.com> | 2018-01-10 13:39:07 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-01-10 18:57:37 +0000 |
commit | 54ec162558f203242639b382eea6e0085300249c (patch) | |
tree | 5321d67bbc143ea3caa4e9e9048ffc71e40b0c14 /toxcore/crypto_core.c | |
parent | a3079e82ddda90055d7247f000a8e9afa7f8a5c5 (diff) |
Fix formatting in some C files.
Also replace &(x) with &x for consistency.
Diffstat (limited to 'toxcore/crypto_core.c')
-rw-r--r-- | toxcore/crypto_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/crypto_core.c b/toxcore/crypto_core.c index 8e34b587..d10fa88d 100644 --- a/toxcore/crypto_core.c +++ b/toxcore/crypto_core.c | |||
@@ -89,7 +89,7 @@ int32_t public_key_cmp(const uint8_t *pk1, const uint8_t *pk2) | |||
89 | uint32_t random_int(void) | 89 | uint32_t random_int(void) |
90 | { | 90 | { |
91 | uint32_t randnum; | 91 | uint32_t randnum; |
92 | randombytes((uint8_t *)&randnum , sizeof(randnum)); | 92 | randombytes((uint8_t *)&randnum, sizeof(randnum)); |
93 | return randnum; | 93 | return randnum; |
94 | } | 94 | } |
95 | 95 | ||