diff options
author | Tim Prouty <tprouty@samba.org> | 2009-07-20 15:37:18 -0700 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2009-07-20 16:08:24 -0700 |
commit | 04c3dfde0f0bc12daf0922a0fe578e3bde587fc8 (patch) | |
tree | 49020e38e864ce3a1877ce4ef2b5f8119f348057 | |
parent | 93570491712bf42b5c8dba825e7d2a40e71c0378 (diff) | |
download | samba-04c3dfde0f0bc12daf0922a0fe578e3bde587fc8.tar.gz samba-04c3dfde0f0bc12daf0922a0fe578e3bde587fc8.tar.bz2 samba-04c3dfde0f0bc12daf0922a0fe578e3bde587fc8.zip |
lib util: Fix const warning
-rw-r--r-- | lib/util/genrand.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |