1.1 --- a/src/share/vm/c1/c1_CFGPrinter.cpp Thu May 15 18:23:26 2014 -0400 1.2 +++ b/src/share/vm/c1/c1_CFGPrinter.cpp Thu May 22 15:52:41 2014 -0400 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2005, 2014, 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 @@ -50,7 +50,7 @@ 1.11 1.12 void inc_indent(); 1.13 void dec_indent(); 1.14 - void print(const char* format, ...); 1.15 + void print(const char* format, ...) ATTRIBUTE_PRINTF(2, 3); 1.16 void print_begin(const char* tag); 1.17 void print_end(const char* tag); 1.18 1.19 @@ -161,7 +161,7 @@ 1.20 1.21 print("name \"%s\"", method_name(_compilation->method(), true)); 1.22 print("method \"%s\"", method_name(_compilation->method())); 1.23 - print("date "INT64_FORMAT, os::javaTimeMillis()); 1.24 + print("date "INT64_FORMAT, (int64_t) os::javaTimeMillis()); 1.25 1.26 print_end("compilation"); 1.27 }