aboutsummaryrefslogtreecommitdiffstats
path: root/src/librandom/random_string.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/librandom/random_string.c')
-rw-r--r--src/librandom/random_string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librandom/random_string.c b/src/librandom/random_string.c
index 5053824..cd2a0aa 100644
--- a/src/librandom/random_string.c
+++ b/src/librandom/random_string.c
@@ -31,7 +31,7 @@ void random_string (char *s, size_t n)
{
while (n)
{
- register int r = getrandom(s, n, 0) ;
+ int r = getrandom(s, n, 0) ;
if (r >= 0)
{
s += r ;