hotspot/src/share/vm/utilities/globalDefinitions.hpp
changeset 24457 0e20b36df5c4
parent 24424 2658d7834c6e
child 24458 f0d4da9b062a
--- a/hotspot/src/share/vm/utilities/globalDefinitions.hpp	Thu May 15 17:38:50 2014 -0400
+++ b/hotspot/src/share/vm/utilities/globalDefinitions.hpp	Thu May 15 18:23:26 2014 -0400
@@ -1385,7 +1385,7 @@
 // All C++ compilers that we know of have the vtbl pointer in the first
 // word.  If there are exceptions, this function needs to be made compiler
 // specific.
-static inline void* dereference_vptr(void* addr) {
+static inline void* dereference_vptr(const void* addr) {
   return *(void**)addr;
 }