提交 078f7fba 编写于 作者: K kbarrett

8150426: Wrong cast in metadata_at_put

Summary: Fix cast.
Reviewed-by: dholmes, coleenp, jprovino
Contributed-by: timo.kinnunen@gmail.com
上级 8e471b27
......@@ -129,7 +129,7 @@ class typeArrayOopDesc : public arrayOopDesc {
Metadata* metadata_at(int which) const {
return (Metadata*)*long_at_addr(which); }
void metadata_at_put(int which, Metadata* contents) {
*long_at_addr(which) = (long)contents;
*long_at_addr(which) = (jlong)contents;
}
#else
Metadata* metadata_at(int which) const {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册