projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
931369b
)
fix signed/unsigned comparison
author
fcusack
<fcusack>
Tue, 8 Nov 2005 10:43:20 +0000
(10:43 +0000)
committer
fcusack
<fcusack>
Tue, 8 Nov 2005 10:43:20 +0000
(10:43 +0000)
src/modules/rlm_otp/otp_site.c
patch
|
blob
|
history
diff --git
a/src/modules/rlm_otp/otp_site.c
b/src/modules/rlm_otp/otp_site.c
index
f5430ef
..
fc7924f
100644
(file)
--- a/
src/modules/rlm_otp/otp_site.c
+++ b/
src/modules/rlm_otp/otp_site.c
@@
-50,7
+50,7
@@
__attribute__ ((unused))
unsigned char challenge[OTP_MAX_CHALLENGE_LEN],
size_t clen)
{
-
int
i;
+
unsigned
i;
for (i = 0; i < clen; ++clen)
challenge[i] = '\0';