[trivial PATCH 12/22] [otp_mppe.c] eliminate build warnings

Wang Tinggong wangtinggong at gmail.com
Mon Feb 1 18:28:45 CET 2010


Signed-off-by: Wang Tinggong <wangtinggong at gmail.com>
---
 src/modules/rlm_otp/otp_mppe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/modules/rlm_otp/otp_mppe.c b/src/modules/rlm_otp/otp_mppe.c
index f31ef9f..c5a12c8 100644
--- a/src/modules/rlm_otp/otp_mppe.c
+++ b/src/modules/rlm_otp/otp_mppe.c
@@ -351,7 +351,7 @@ otp_mppe(REQUEST *request, otp_pwe_t pwe, const otp_option_t *opt,
                                     (2 * sizeof(mppe_key)) + 1];
 #else /* 0 */
       /*                           0x   (   ASCII(mppe_key)   )  \0 */
-      unsigned char mppe_key_string[2 + (2 * sizeof(MasterKey)) + 1];
+      char mppe_key_string[2 + (2 * sizeof(MasterKey)) + 1];
 #endif /* else !0 */
 
       /* Generate the master session key. */
-- 
1.6.0.6



More information about the Freeradius-Devel mailing list