From f5e6f56a82e56cfd72a0e2f1ce9b583398636545 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sat, 20 May 2017 15:28:07 +0100 Subject: Fixed warnings all over the code --- cmd/cmd_rand_libc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cmd/cmd_rand_libc.c') diff --git a/cmd/cmd_rand_libc.c b/cmd/cmd_rand_libc.c index d72bc45..1860a77 100644 --- a/cmd/cmd_rand_libc.c +++ b/cmd/cmd_rand_libc.c @@ -4,7 +4,6 @@ void *cmd_rand_libc(void *data) { char *ret = NULL; - int fret=-1; const int buf_size = 128; char buf[buf_size+1]; @@ -25,7 +24,7 @@ void *cmd_rand_libc(void *data) } else { //cut output to 512 char str_integer[16]; - int rand_state; + unsigned int rand_state; params = sdsnew(data); out_result = sdsempty(); -- cgit v1.2.3