diff options
author | Ethan Yonker <dees_troy@teamw.in> | 2017-11-18 15:10:51 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2017-11-18 15:10:51 +0100 |
commit | 32e803a4746b1e86c1ee9ab172e119abd77e1002 (patch) | |
tree | 309454cbd8d524df0731c913c0657bab31ad4259 /bootloader_message_twrp | |
parent | Auto detect possible use of legacy props (diff) | |
download | android_bootable_recovery-32e803a4746b1e86c1ee9ab172e119abd77e1002.tar android_bootable_recovery-32e803a4746b1e86c1ee9ab172e119abd77e1002.tar.gz android_bootable_recovery-32e803a4746b1e86c1ee9ab172e119abd77e1002.tar.bz2 android_bootable_recovery-32e803a4746b1e86c1ee9ab172e119abd77e1002.tar.lz android_bootable_recovery-32e803a4746b1e86c1ee9ab172e119abd77e1002.tar.xz android_bootable_recovery-32e803a4746b1e86c1ee9ab172e119abd77e1002.tar.zst android_bootable_recovery-32e803a4746b1e86c1ee9ab172e119abd77e1002.zip |
Diffstat (limited to 'bootloader_message_twrp')
-rw-r--r-- | bootloader_message_twrp/bootloader_message.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bootloader_message_twrp/bootloader_message.cpp b/bootloader_message_twrp/bootloader_message.cpp index 55d3a5d9e..67197399a 100644 --- a/bootloader_message_twrp/bootloader_message.cpp +++ b/bootloader_message_twrp/bootloader_message.cpp @@ -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); } } |