summaryrefslogtreecommitdiffstats
path: root/bootloader_message_twrp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2017-11-30 14:24:06 +0100
committerEthan Yonker <dees_troy@teamw.in>2017-11-30 14:24:06 +0100
commit7c997913e2ca89d6373522ea4c2e97e87113b528 (patch)
treeda0265f8cad535886c17e4a953af957bb342b955 /bootloader_message_twrp
parentBetter compatibility across 8.0.0 trees (diff)
downloadandroid_bootable_recovery-7c997913e2ca89d6373522ea4c2e97e87113b528.tar
android_bootable_recovery-7c997913e2ca89d6373522ea4c2e97e87113b528.tar.gz
android_bootable_recovery-7c997913e2ca89d6373522ea4c2e97e87113b528.tar.bz2
android_bootable_recovery-7c997913e2ca89d6373522ea4c2e97e87113b528.tar.lz
android_bootable_recovery-7c997913e2ca89d6373522ea4c2e97e87113b528.tar.xz
android_bootable_recovery-7c997913e2ca89d6373522ea4c2e97e87113b528.tar.zst
android_bootable_recovery-7c997913e2ca89d6373522ea4c2e97e87113b528.zip
Diffstat (limited to 'bootloader_message_twrp')
-rw-r--r--bootloader_message_twrp/bootloader_message.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootloader_message_twrp/bootloader_message.cpp b/bootloader_message_twrp/bootloader_message.cpp
index 67197399a..a7a58f67a 100644
--- a/bootloader_message_twrp/bootloader_message.cpp
+++ b/bootloader_message_twrp/bootloader_message.cpp
@@ -310,11 +310,11 @@ get_args(int *argc, char ***argv) {
}
//stage = strndup(boot.stage, sizeof(boot.stage));
- if (boot.command[0] != 0 && boot.command[0] != 255) {
+ if (boot.command[0] != 0 && boot.command[0] != (char)255) {
printf("Boot command: %.*s\n", (int)sizeof(boot.command), boot.command);
}
- if (boot.status[0] != 0 && boot.status[0] != 255) {
+ if (boot.status[0] != 0 && boot.status[0] != (char)255) {
printf("Boot status: %.*s\n", (int)sizeof(boot.status), boot.status);
}