From 3a965d6e787dd2a1275ad520a8b111c49a103c0d Mon Sep 17 00:00:00 2001 From: Heavenly Avenger Date: Fri, 30 Nov 2018 01:17:06 -0200 Subject: [PATCH] Specifies the format in the protocol files. Protobuf outputs a warning if not explicitly specified in the .proto file. This warning was introduced in this commit, back in 2014: protocolbuffers/Protobuf@3eb55df6a4624f6124d96ea52a7c2915ee7957fd --- src/fileformat.proto | 1 + src/osmformat.proto | 1 + 2 files changed, 2 insertions(+) diff --git a/src/fileformat.proto b/src/fileformat.proto index e6fd937..f048186 100644 --- a/src/fileformat.proto +++ b/src/fileformat.proto @@ -15,6 +15,7 @@ */ +syntax = "proto2"; option optimize_for = LITE_RUNTIME; option java_package = "crosby.binary"; package OSMPBF; diff --git a/src/osmformat.proto b/src/osmformat.proto index 82bde2f..73cefd3 100644 --- a/src/osmformat.proto +++ b/src/osmformat.proto @@ -15,6 +15,7 @@ */ +syntax = "proto2"; option optimize_for = LITE_RUNTIME; option java_package = "crosby.binary"; package OSMPBF;