Comment #16 on issue 361 by [email protected]: Fix warnings
https://code.google.com/p/protobuf/issues/detail?id=361

RE:
It's the convention at Google to use "int" as
loop counters, which makes it pointless to
update the code to use "size_t"

Surely the max-value that the loop counter is compared against should *also* have type "int", too, then? (as suggested in comment #14)

Signed/unsigned comparisons can cause subtle bugs and are worth avoiding, one way or another...

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to