1.1 --- a/src/share/vm/opto/type.cpp Wed Jan 16 16:30:04 2013 +0100 1.2 +++ b/src/share/vm/opto/type.cpp Thu Jan 17 10:25:16 2013 -0500 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -1542,10 +1542,10 @@ 1.11 static const char* longnamenear(jlong x, const char* xname, char* buf, jlong n) { 1.12 if (n > x) { 1.13 if (n >= x + 10000) return NULL; 1.14 - sprintf(buf, "%s+" INT64_FORMAT, xname, n - x); 1.15 + sprintf(buf, "%s+" JLONG_FORMAT, xname, n - x); 1.16 } else if (n < x) { 1.17 if (n <= x - 10000) return NULL; 1.18 - sprintf(buf, "%s-" INT64_FORMAT, xname, x - n); 1.19 + sprintf(buf, "%s-" JLONG_FORMAT, xname, x - n); 1.20 } else { 1.21 return xname; 1.22 } 1.23 @@ -1557,11 +1557,11 @@ 1.24 if (n == min_jlong) 1.25 return "min"; 1.26 else if (n < min_jlong + 10000) 1.27 - sprintf(buf, "min+" INT64_FORMAT, n - min_jlong); 1.28 + sprintf(buf, "min+" JLONG_FORMAT, n - min_jlong); 1.29 else if (n == max_jlong) 1.30 return "max"; 1.31 else if (n > max_jlong - 10000) 1.32 - sprintf(buf, "max-" INT64_FORMAT, max_jlong - n); 1.33 + sprintf(buf, "max-" JLONG_FORMAT, max_jlong - n); 1.34 else if ((str = longnamenear(max_juint, "maxuint", buf, n)) != NULL) 1.35 return str; 1.36 else if ((str = longnamenear(max_jint, "maxint", buf, n)) != NULL) 1.37 @@ -1569,7 +1569,7 @@ 1.38 else if ((str = longnamenear(min_jint, "minint", buf, n)) != NULL) 1.39 return str; 1.40 else 1.41 - sprintf(buf, INT64_FORMAT, n); 1.42 + sprintf(buf, JLONG_FORMAT, n); 1.43 return buf; 1.44 } 1.45