mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8212023: Implicit narrowing in Solaris/sparc initializers
Explicitly narrow or fix destination types. Reviewed-by: dholmes, tschatzl
This commit is contained in:
parent
1226dcbcfe
commit
6330fc1cb6
2 changed files with 21 additions and 21 deletions
|
@ -1567,11 +1567,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;
|
||||
|
||||
static const arch_t arch_array[]={
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue