summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2014-03-13 12:03:27 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2014-03-13 12:03:27 (GMT)
commitf93187512d0a8db6b7160088d3d0b325dd83c937 (patch)
tree3ec4e0b1a24d23096e1919239813a86793508f13
parentfb183076a3a6580a4aba435c53ce033ef89e7fe6 (diff)
downloadbusybox-f93187512d0a8db6b7160088d3d0b325dd83c937.tar.gz
busybox-f93187512d0a8db6b7160088d3d0b325dd83c937.tar.bz2
random: cosmetic tweaks in debug code
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--shell/random.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/random.c b/shell/random.c
index 9a64f54..fc2dfc2 100644
--- a/shell/random.c
+++ b/shell/random.c
@@ -24,12 +24,12 @@
# include <unistd.h>
# include <stdio.h>
# include <time.h>
-# define RAND_BASH_MASK 0xffffffff /* off */
# define FAST_FUNC /* nothing */
# define PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN /* nothing */
# define POP_SAVED_FUNCTION_VISIBILITY /* nothing */
# define monotonic_us() time(NULL)
# include "random.h"
+# define RAND_BASH_MASK 0xffffffff /* off */
#endif
uint32_t FAST_FUNC
@@ -139,7 +139,7 @@ static random_t rnd;
int main(int argc, char **argv)
{
int i;
- int buf[4096];
+ uint32_t buf[4096];
for (;;) {
for (i = 0; i < sizeof(buf) / sizeof(buf[0]); i++) {