hotspot/src/share/vm/runtime/javaCalls.cpp
changeset 20282 7f9cbdf89af2
parent 14583 d70ee55535f4
child 22551 9bf46d16dcc6
--- a/hotspot/src/share/vm/runtime/javaCalls.cpp	Wed Sep 25 17:47:51 2013 +0200
+++ b/hotspot/src/share/vm/runtime/javaCalls.cpp	Thu Sep 26 10:25:02 2013 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -430,7 +430,7 @@
   for(int i = 0; i < _size; i++) {
     if (_is_oop[i]) {
       // Handle conversion
-      _value[i] = (intptr_t)Handle::raw_resolve((oop *)_value[i]);
+      _value[i] = cast_from_oop<intptr_t>(Handle::raw_resolve((oop *)_value[i]));
     }
   }
   // Return argument vector