protobuf icon indicating copy to clipboard operation
protobuf copied to clipboard

Fix various unsigned to signed comparison warnings.

Open benjaminp opened this issue 1 year ago • 0 comments

GCC aggressively emit warnings when comparing unsigned and signed integer types, which causes failures works under protobuf's -Werror default. We can fix these often by switching to iterators, but sometimes it's easiest to add a cast or switch a variable type.

benjaminp avatar Jun 21 '24 22:06 benjaminp