Skip to content

Is this a bug or a over-shortened trick? #9506

@wangkuiyi

Description

@wangkuiyi

byte_count_ += * size = (int)GRPC_SLICE_LENGTH(slice_);

Is this a typo/bug? If not, it seems that we should write it as

*size = static_cast<int>(GRPC_SLICE_LENGTH(slice_));
byte_count_ += size;

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions