mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8185900: hotspot build failed with gcc version Red Hat 4.4.7-3
Cast to void* within DTRACE_CLASS* macros. Reviewed-by: coleenp, shade
This commit is contained in:
parent
8b26f53df7
commit
e012a77fba
2 changed files with 3 additions and 3 deletions
|
@ -101,7 +101,7 @@
|
|||
len = clss_name->utf8_length(); \
|
||||
} \
|
||||
HOTSPOT_CLASS_INITIALIZATION_##type( \
|
||||
data, len, class_loader(), thread_type); \
|
||||
data, len, (void*)class_loader(), thread_type); \
|
||||
}
|
||||
|
||||
#define DTRACE_CLASSINIT_PROBE_WAIT(type, thread_type, wait) \
|
||||
|
@ -114,7 +114,7 @@
|
|||
len = clss_name->utf8_length(); \
|
||||
} \
|
||||
HOTSPOT_CLASS_INITIALIZATION_##type( \
|
||||
data, len, class_loader(), thread_type, wait); \
|
||||
data, len, (void*)class_loader(), thread_type, wait); \
|
||||
}
|
||||
|
||||
#else // ndef DTRACE_ENABLED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue