mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
fix compilation warning due to ternary operator results having differing signedness
This commit is contained in:
parent
d4cd60eccf
commit
beb2a881cd
@ -2565,7 +2565,7 @@ u32 GodMode(int entrypoint) {
|
|||||||
u32 n_opt = 0;
|
u32 n_opt = 0;
|
||||||
int poweroff = ++n_opt;
|
int poweroff = ++n_opt;
|
||||||
int reboot = ++n_opt;
|
int reboot = ++n_opt;
|
||||||
int brick = (HID_ReadState() & BUTTON_R1) ? ++n_opt : -1;
|
int brick = (HID_ReadState() & BUTTON_R1) ? ++n_opt : 0;
|
||||||
int scripts = ++n_opt;
|
int scripts = ++n_opt;
|
||||||
int payloads = ++n_opt;
|
int payloads = ++n_opt;
|
||||||
int more = ++n_opt;
|
int more = ++n_opt;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user