summaryrefslogtreecommitdiffstats
path: root/error_code.h
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-10-07 10:10:27 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-10-07 10:10:27 +0200
commit6f5ed7b28aa47b9aa2b33c7788c25792307e088d (patch)
tree859affca35020cf3177db3ba5c80577530984ffc /error_code.h
parentSnap for 4380820 from b59132d66c5e77970d05d195210872987cf0e69c to pi-release (diff)
parentMerge "Don't include "error_code.h" in edify/expr.h." am: d999ced1d1 am: e196918f54 am: 3bc65953ab (diff)
downloadandroid_bootable_recovery-6f5ed7b28aa47b9aa2b33c7788c25792307e088d.tar
android_bootable_recovery-6f5ed7b28aa47b9aa2b33c7788c25792307e088d.tar.gz
android_bootable_recovery-6f5ed7b28aa47b9aa2b33c7788c25792307e088d.tar.bz2
android_bootable_recovery-6f5ed7b28aa47b9aa2b33c7788c25792307e088d.tar.lz
android_bootable_recovery-6f5ed7b28aa47b9aa2b33c7788c25792307e088d.tar.xz
android_bootable_recovery-6f5ed7b28aa47b9aa2b33c7788c25792307e088d.tar.zst
android_bootable_recovery-6f5ed7b28aa47b9aa2b33c7788c25792307e088d.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,