summaryrefslogtreecommitdiff
path: root/runtime/class_status.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/class_status.h')
-rw-r--r--runtime/class_status.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/class_status.h b/runtime/class_status.h
index 0877e68818..7f2ef6a09d 100644
--- a/runtime/class_status.h
+++ b/runtime/class_status.h
@@ -18,6 +18,7 @@
#define ART_RUNTIME_CLASS_STATUS_H_
#include <iosfwd>
+#include <stdint.h>
namespace art {
@@ -70,7 +71,7 @@ namespace art {
// again at runtime.
//
// TODO: Explain the other states
-enum ClassStatus {
+enum ClassStatus : int8_t {
kStatusRetired = -3, // Retired, should not be used. Use the newly cloned one instead.
kStatusErrorResolved = -2,
kStatusErrorUnresolved = -1,