summaryrefslogtreecommitdiff
path: root/toxcore/crypto_core.c
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-01-10 13:39:07 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-01-10 18:57:37 +0000
commit54ec162558f203242639b382eea6e0085300249c (patch)
tree5321d67bbc143ea3caa4e9e9048ffc71e40b0c14 /toxcore/crypto_core.c
parenta3079e82ddda90055d7247f000a8e9afa7f8a5c5 (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.c2
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)
89uint32_t random_int(void) 89uint32_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