git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9357049
)
lib util: Fix const warning
author
Tim Prouty
<tprouty@samba.org>
Mon, 20 Jul 2009 22:37:18 +0000
(15:37 -0700)
committer
Tim Prouty
<tprouty@samba.org>
Mon, 20 Jul 2009 23:08:24 +0000
(16:08 -0700)
lib/util/genrand.c
patch
|
blob
|
history
diff --git
a/lib/util/genrand.c
b/lib/util/genrand.c
index c51f9384b835c0a04793b2580d1f3f57c16a30ca..5b8456547ac9fc5ca1f8615a69297be96240f9c7 100644
(file)
--- 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;
+ c
onst c
har* reals = s;
while (*s) {
if (isdigit((unsigned char)*s)) {
has_digit |= 1;