hotspot/src/share/vm/opto/escape.cpp
changeset 1068 720698d9c89b
parent 1055 f4fb9fb08038
child 1069 ef51f81ebe0f
--- a/hotspot/src/share/vm/opto/escape.cpp	Wed Aug 27 09:15:46 2008 -0700
+++ b/hotspot/src/share/vm/opto/escape.cpp	Wed Aug 27 14:47:32 2008 -0700
@@ -501,7 +501,7 @@
     // compute an appropriate address type (cases #3 and #5).
     assert(igvn->type(addp) == TypeRawPtr::NOTNULL, "must be raw pointer");
     assert(addp->in(AddPNode::Address)->is_Proj(), "base of raw address must be result projection from allocation");
-    int offs = (int)igvn->find_intptr_t_con(addp->in(AddPNode::Offset), Type::OffsetBot);
+    intptr_t offs = (int)igvn->find_intptr_t_con(addp->in(AddPNode::Offset), Type::OffsetBot);
     assert(offs != Type::OffsetBot, "offset must be a constant");
     t = base_t->add_offset(offs)->is_oopptr();
   }