Fix compile error in bootloader_message_twrp on 6.0 tree

Change-Id: Ifcfff60fab1cd73b524cd521a7094c344f8e9e1d
This commit is contained in:
Ethan Yonker
2017-11-18 08:10:51 -06:00
parent b4c3591306
commit 32e803a474
@@ -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);
}
}