Mercurial > hg > graal-compiler
diff src/share/vm/graal/graalRuntime.cpp @ 16291:da8f16efaa4c
explicit conversion to (int), fixes Windows build
author | Christian Wirth <christian.wirth@oracle.com> |
---|---|
date | Mon, 30 Jun 2014 15:45:41 +0200 |
parents | 7af7db0bbfe9 |
children | ad431bf0de07 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalRuntime.cpp Mon Jun 30 11:38:54 2014 +0200 +++ b/src/share/vm/graal/graalRuntime.cpp Mon Jun 30 15:45:41 2014 +0200 @@ -778,7 +778,7 @@ if (!recognized) { bool throw_err = hotSpotOptionsClass.is_null(); if (!hotSpotOptionsClass.is_null()) { - set_option_helper(hotSpotOptionsClass, name, name_len, Handle(), ' ', Handle(), 0L); + set_option_helper(hotSpotOptionsClass, name, (int)name_len, Handle(), ' ', Handle(), 0L); if (!HAS_PENDING_EXCEPTION) { throw_err = true; }