From 17f2228ca80a6477af947c4d282b99a19482fb73 Mon Sep 17 00:00:00 2001 From: Bas Couwenberg Date: Fri, 2 Sep 2016 18:28:45 +0200 Subject: [PATCH] Specify proto2 syntax to fix warnings with protobuf 3.0.0. --- src/fileformat.proto | 2 ++ src/osmformat.proto | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/fileformat.proto b/src/fileformat.proto index e6fd937..c9f3874 100644 --- a/src/fileformat.proto +++ b/src/fileformat.proto @@ -15,6 +15,8 @@ */ +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 f919bac..ef6dad2 100644 --- a/src/osmformat.proto +++ b/src/osmformat.proto @@ -15,6 +15,8 @@ */ +syntax = "proto2"; + option optimize_for = LITE_RUNTIME; option java_package = "crosby.binary"; package OSMPBF;