Quiet compile warnings
authorAlan T. DeKok <aland@freeradius.org>
Sun, 6 Nov 2011 14:53:35 +0000 (15:53 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 7 Nov 2011 15:20:06 +0000 (16:20 +0100)
src/main/auth.c

index f437786..a3bedd9 100644 (file)
@@ -690,9 +690,9 @@ autz_redo:
                /* double check: maybe the secret is wrong? */
                if ((debug_flag > 1) && (auth_item != NULL) &&
                                (auth_item->attribute == PW_USER_PASSWORD)) {
-                       char *p;
+                       uint8_t *p;
 
-                       p = auth_item->vp_strvalue;
+                       p = (uint8_t *) auth_item->vp_strvalue;
                        while (*p) {
                                int size;