Mercurial > hg > truffle
changeset 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 | e6622e77e8c7 |
children | 81e4af185dd6 |
files | src/share/vm/graal/graalRuntime.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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; }