summaryrefslogtreecommitdiffstats
path: root/error_code.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-10-06 16:37:21 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-10-06 16:37:21 +0200
commitd999ced1d119d78645e1b458dfc3574729d5ac20 (patch)
treebea09e79cd5bd6d853d3e8b16fbc17a0f04508fb /error_code.h
parentMerge "vr_ui: drawing changes" (diff)
parentDon't include "error_code.h" in edify/expr.h. (diff)
downloadandroid_bootable_recovery-d999ced1d119d78645e1b458dfc3574729d5ac20.tar
android_bootable_recovery-d999ced1d119d78645e1b458dfc3574729d5ac20.tar.gz
android_bootable_recovery-d999ced1d119d78645e1b458dfc3574729d5ac20.tar.bz2
android_bootable_recovery-d999ced1d119d78645e1b458dfc3574729d5ac20.tar.lz
android_bootable_recovery-d999ced1d119d78645e1b458dfc3574729d5ac20.tar.xz
android_bootable_recovery-d999ced1d119d78645e1b458dfc3574729d5ac20.tar.zst
android_bootable_recovery-d999ced1d119d78645e1b458dfc3574729d5ac20.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,