diff options
-rw-r--r-- | src/target/armv4_5.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/armv4_5.h b/src/target/armv4_5.h index c2fde4a9..b007b51a 100644 --- a/src/target/armv4_5.h +++ b/src/target/armv4_5.h @@ -133,7 +133,7 @@ static __inline enum armv4_5_mode armv4_5_number_to_mode(int number) case 6: return ARMV4_5_MODE_SYS; break; default: LOG_ERROR("mode index out of bounds"); - return -1; + return ARMV4_5_MODE_ANY; } }; |