Skip to content

Commit

Permalink
Specify proto2 syntax to fix warnings with protobuf 3.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastic committed Sep 2, 2016
1 parent 1283c4a commit 17f2228
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fileformat.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*/

syntax = "proto2";

option optimize_for = LITE_RUNTIME;
option java_package = "crosby.binary";
package OSMPBF;
Expand Down
2 changes: 2 additions & 0 deletions src/osmformat.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
*/

syntax = "proto2";

option optimize_for = LITE_RUNTIME;
option java_package = "crosby.binary";
package OSMPBF;
Expand Down

0 comments on commit 17f2228

Please sign in to comment.