summaryrefslogtreecommitdiffstats
path: root/error_code.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-10-06 16:57:00 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-10-06 16:57:00 +0200
commit622253f29f7ad47f619cc41a09a75bc370c2fae7 (patch)
tree7ff9f901bef1387e07f58c6cdf3415a1a6f70618 /error_code.h
parentMerge "vr_ui: drawing changes" am: 9a874a4e5f am: 3b3f2f5711 (diff)
parentMerge "Don't include "error_code.h" in edify/expr.h." am: d999ced1d1 (diff)
downloadandroid_bootable_recovery-622253f29f7ad47f619cc41a09a75bc370c2fae7.tar
android_bootable_recovery-622253f29f7ad47f619cc41a09a75bc370c2fae7.tar.gz
android_bootable_recovery-622253f29f7ad47f619cc41a09a75bc370c2fae7.tar.bz2
android_bootable_recovery-622253f29f7ad47f619cc41a09a75bc370c2fae7.tar.lz
android_bootable_recovery-622253f29f7ad47f619cc41a09a75bc370c2fae7.tar.xz
android_bootable_recovery-622253f29f7ad47f619cc41a09a75bc370c2fae7.tar.zst
android_bootable_recovery-622253f29f7ad47f619cc41a09a75bc370c2fae7.zip
Diffstat (limited to 'error_code.h')
-rw-r--r--error_code.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/error_code.h b/error_code.h
index 4e3032bc9..26b9bb40d 100644
--- a/error_code.h
+++ b/error_code.h
@@ -17,7 +17,7 @@
#ifndef _ERROR_CODE_H_
#define _ERROR_CODE_H_
-enum ErrorCode {
+enum ErrorCode : int {
kNoError = -1,
kLowBattery = 20,
kZipVerificationFailure,
@@ -30,7 +30,7 @@ enum ErrorCode {
kUpdateBinaryCommandFailure,
};
-enum CauseCode {
+enum CauseCode : int {
kNoCause = -1,
kArgsParsingFailure = 100,
kStashCreationFailure,
@@ -51,7 +51,7 @@ enum CauseCode {
kVendorFailure = 200
};
-enum UncryptErrorCode {
+enum UncryptErrorCode : int {
kUncryptNoError = -1,
kUncryptErrorPlaceholder = 50,
kUncryptTimeoutError = 100,