Mercurial > hg > graal-jvmci-8
diff src/share/vm/ci/ciReplay.cpp @ 7623:203f64878aab
7102489: RFE: cleanup jlong typedef on __APPLE__and _LLP64 systems.
Summary: Define jlong as long on all LP64 platforms and add JLONG_FORMAT macro.
Reviewed-by: dholmes, coleenp, mikael, kvn
author | hseigel |
---|---|
date | Thu, 17 Jan 2013 10:25:16 -0500 |
parents | 90273fc0a981 |
children | 8391fdd36e1f |
line wrap: on
line diff
--- a/src/share/vm/ci/ciReplay.cpp Wed Jan 16 16:30:04 2013 +0100 +++ b/src/share/vm/ci/ciReplay.cpp Thu Jan 17 10:25:16 2013 -0500 @@ -1,4 +1,4 @@ -/* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 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 @@ -645,7 +645,7 @@ java_mirror->bool_field_put(fd.offset(), value); } else if (strcmp(field_signature, "J") == 0) { jlong value; - if (sscanf(string_value, INT64_FORMAT, &value) != 1) { + if (sscanf(string_value, JLONG_FORMAT, &value) != 1) { fprintf(stderr, "Error parsing long: %s\n", string_value); return; }