hotspot/src/share/vm/oops/instanceKlass.cpp
changeset 3694 942b7bc7f28c
parent 3693 af387bf37e8d
child 3817 2074f52fb46c
--- a/hotspot/src/share/vm/oops/instanceKlass.cpp	Tue Aug 11 15:37:23 2009 -0700
+++ b/hotspot/src/share/vm/oops/instanceKlass.cpp	Thu Aug 13 16:22:45 2009 -0700
@@ -2223,7 +2223,8 @@
     int offset = java_lang_Class::klass_offset;
 
     OopMapBlock* map = ik->start_of_nonstatic_oop_maps();
-    guarantee(map->offset() == offset && map->count() == extra, "sanity");
+    guarantee(map->offset() == offset && map->count() == (unsigned int) extra,
+              "sanity");
   }
 }