8160353: narrowing conversion error is occurred with GCC 6

Reviewed-by: kbarrett, dholmes
This commit is contained in:
Yasumasa Suenaga 2016-07-04 12:43:01 +09:00
parent 82858779e9
commit 146cbf3702
2 changed files with 7 additions and 7 deletions

View file

@ -1742,11 +1742,11 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) {
}
typedef struct {
Elf32_Half code; // Actual value as defined in elf.h
Elf32_Half compat_class; // Compatibility of archs at VM's sense
char elf_class; // 32 or 64 bit
char endianess; // MSB or LSB
char* name; // String representation
Elf32_Half code; // Actual value as defined in elf.h
Elf32_Half compat_class; // Compatibility of archs at VM's sense
unsigned char elf_class; // 32 or 64 bit
unsigned char endianess; // MSB or LSB
char* name; // String representation
} arch_t;
#ifndef EM_486