warnings: Add explict casts to silence many compiler warnings about sign comparisions.
[yaboot.git] / second / yaboot.c
index 1f3f1518845aa67b0a81847f226a775a2ea9c34d..0fd26a106af36d2599019ebb9289aa1ba150bc5b 100644 (file)
@@ -603,7 +603,7 @@ void check_password(char *str)
          prom_printf ("\n");
 #ifdef USE_MD5_PASSWORDS
          if (!strncmp (password, "$1$", 3)) {
-              if (!check_md5_password(passwdbuff, password))
+              if (!check_md5_password((unsigned char*)passwdbuff, (unsigned char*)password))
                    return;
          }
          else if (!strcmp (password, passwdbuff))