Commit 32e803a4 authored by Ethan Yonker's avatar Ethan Yonker

Fix compile error in bootloader_message_twrp on 6.0 tree

Change-Id: Ifcfff60fab1cd73b524cd521a7094c344f8e9e1d
parent b4c35913
......@@ -341,7 +341,7 @@ get_args(int *argc, char ***argv) {
(*argv)[*argc] = strdup(arg);
}
printf("Got arguments from boot message\n");
} else if (boot.recovery[0] != 0 && boot.recovery[0] != 255) {
} else if (boot.recovery[0] != 0 && boot.recovery[0] != (char)255) {
printf("Bad boot message\n\"%.20s\"\n", boot.recovery);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment