From 610520d8e26a58dd27286f2b35a8033c6f230c5a Mon Sep 17 00:00:00 2001 From: David Renshaw Date: Sun, 12 Oct 2014 09:20:42 -0400 Subject: [PATCH] explicit IDs for java annotations --- compiler/src/main/cpp/capnpc-java.c++ | 2 +- compiler/src/main/schema/capnp/java.capnp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/src/main/cpp/capnpc-java.c++ b/compiler/src/main/cpp/capnpc-java.c++ index a787b51..f7c5c08 100644 --- a/compiler/src/main/cpp/capnpc-java.c++ +++ b/compiler/src/main/cpp/capnpc-java.c++ @@ -53,7 +53,7 @@ namespace capnp { namespace { -static constexpr uint64_t OUTER_CLASSNAME_ANNOTATION_ID = 0x9b066bb4881f7cd3; +static constexpr uint64_t OUTER_CLASSNAME_ANNOTATION_ID = 0x9b066bb4881f7cd3ull; static constexpr uint64_t PACKAGE_ANNOTATION_ID = 0x9ee4c8f803b3b596ull; static constexpr const char* FIELD_SIZE_NAMES[] = { diff --git a/compiler/src/main/schema/capnp/java.capnp b/compiler/src/main/schema/capnp/java.capnp index 508bbae..5c70776 100644 --- a/compiler/src/main/schema/capnp/java.capnp +++ b/compiler/src/main/schema/capnp/java.capnp @@ -1,5 +1,5 @@ @0xc5f1af96651f70ea; -annotation package(file): Text; +annotation package @0x9ee4c8f803b3b596 (file) : Text; -annotation outerClassname(file): Text; \ No newline at end of file +annotation outerClassname @0x9b066bb4881f7cd3 (file) : Text; \ No newline at end of file