summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-18 16:06:16 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:26 +0200
commit0aa00ea102edfe12978e3f1c8eb28e63ea9171b6 (patch)
treebaa3b5f906206e10fcb628f6b6637d00532dc9c5 /libc/stdlib
parent85a5d70b5f76c1565816494908288b59fc0b7501 (diff)
arc4random.c: use smallint for rs_initialized
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/arc4random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/arc4random.c b/libc/stdlib/arc4random.c
index e074a22b9..7a8359ab0 100644
--- a/libc/stdlib/arc4random.c
+++ b/libc/stdlib/arc4random.c
@@ -44,7 +44,7 @@ struct arc4_stream {
uint8_t s[256];
};
-static int rs_initialized;
+static smallint rs_initialized;
static struct arc4_stream rs;
static __inline__ void