diff --git a/include/llvm/Support/MachO.h b/include/llvm/Support/MachO.h index 9a03722d250..ebaaa7ef358 100644 --- a/include/llvm/Support/MachO.h +++ b/include/llvm/Support/MachO.h @@ -302,7 +302,7 @@ namespace llvm { N_EXT = 0x01 }; - enum NListType { + enum NListType : uint8_t { // Constants for the "n_type & N_TYPE" llvm::MachO::nlist and // llvm::MachO::nlist_64 N_UNDF = 0x0u,