Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

rpc: use ByteSizeLong from protobuf#1480

Open
necessarily-equal wants to merge 1 commit into
anbox:masterfrom
necessarily-equal:protobuf-size_t
Open

rpc: use ByteSizeLong from protobuf#1480
necessarily-equal wants to merge 1 commit into
anbox:masterfrom
necessarily-equal:protobuf-size_t

Conversation

@necessarily-equal

Copy link
Copy Markdown
Contributor

ByteSize() is deperecated, and BiteSizeLong() returns a size_t already,
which is what we use. This way, we also avoid potential overflows when
casting to int back and from.

@necessarily-equal

Copy link
Copy Markdown
Contributor Author

I see that CI doesn't like it. I guess it uses an older version of protobuf.

ByteSize() is deperecated, and BiteSizeLong() returns a size_t already,
which is what we use. This way, we also avoid potential overflows when
casting to int back and from.
@necessarily-equal

Copy link
Copy Markdown
Contributor Author

CI is fixed now. I believe this is ready for merging

@stale

stale Bot commented Jun 18, 2021

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale Bot added the decaying label Jun 18, 2021
@necessarily-equal

Copy link
Copy Markdown
Contributor Author

still ready

@stale stale Bot removed the decaying label Jun 19, 2021
@Fuseteam

Fuseteam commented Aug 3, 2021

Copy link
Copy Markdown

@morphis can this be reviewed?

@stale

stale Bot commented Apr 16, 2022

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale Bot added the decaying label Apr 16, 2022
@necessarily-equal

necessarily-equal commented Apr 18, 2022 via email

Copy link
Copy Markdown
Contributor Author

@stale stale Bot removed the decaying label Apr 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants