hotspot/src/share/vm/memory/universe.cpp
changeset 15228 e92acc84ade3
parent 14590 7d6b69f12b36
child 15483 113ca9e9c1bb
child 15463 8693f5fb0828
--- a/hotspot/src/share/vm/memory/universe.cpp	Wed Jan 16 16:30:04 2013 +0100
+++ b/hotspot/src/share/vm/memory/universe.cpp	Thu Jan 17 10:25:16 2013 -0500
@@ -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
@@ -228,7 +228,7 @@
   if (size < alignment || size % alignment != 0) {
     ResourceMark rm;
     stringStream st;
-    st.print("Size of %s (%ld bytes) must be aligned to %ld bytes", name, size, alignment);
+    st.print("Size of %s (" UINTX_FORMAT " bytes) must be aligned to " UINTX_FORMAT " bytes", name, size, alignment);
     char* error = st.as_string();
     vm_exit_during_initialization(error);
   }