Fix darwin singlejar build failure caused by
The issue was unnoticed with linux build but caused darwin build to fail with the following error:
format specifies type 'long' but the argument has type 'off64_t' (aka 'long long') [-Werror,-Wformat] "Jsa-Offset: %ld", aligned_offset);
~~~   ^~~~~~~~~~~~~~
%lld
RELNOTES:
@@ -1040,7 +1040,8 @@ void OutputJar::AppendCDSArchive(const std::string &cds_archive) {
// attribute.
char cds_manifest_attr[50];
snprintf( cds_manifest_attr, sizeof(cds_manifest_attr),
- "Jsa-Offset: %ld", aligned_offset);
+ "Jsa-Offset: %ld", (long)aligned_offset); // NOLINT(runtime/int,
+ // google-runtime-int)
manifest_.Append(cds_manifest_attr);
manifest_.Append("\r\n");
