From 04c3dfde0f0bc12daf0922a0fe578e3bde587fc8 Mon Sep 17 00:00:00 2001 From: Tim Prouty Date: Mon, 20 Jul 2009 15:37:18 -0700 Subject: lib util: Fix const warning --- lib/util/genrand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/genrand.c b/lib/util/genrand.c index c51f9384b8..5b8456547a 100644 --- a/lib/util/genrand.c +++ b/lib/util/genrand.c @@ -294,7 +294,7 @@ _PUBLIC_ uint32_t generate_random(void) _PUBLIC_ bool check_password_quality(const char *s) { int has_digit=0, has_capital=0, has_lower=0, has_special=0, has_high=0; - char* reals = s; + const char* reals = s; while (*s) { if (isdigit((unsigned char)*s)) { has_digit |= 1; -- cgit