[ovs-dev] [PATCH v5 1/6] flow: Use unsigned int for counts.

Joe Stringer joestringer at nicira.com
Wed Aug 26 16:46:12 UTC 2015

On 26 August 2015 at 09:04, Ben Pfaff <blp at nicira.com> wrote:
> On Fri, Aug 21, 2015 at 03:25:18PM -0700, Jarno Rajahalme wrote:
>> Reserve the use of size_t for sizes of objects in bytes.
>> Suggested-by: Joe Stringer <joestringer at nicira.com>
>> Signed-off-by: Jarno Rajahalme <jrajahalme at nicira.com>
> I think that size_t is a perfectly appropriate type for the number of
> elements in an array or an array index (the main usage here).  It's the
> most suitable portable type for such a usage.

Fair enough. I didn't feel that strongly about it, but perhaps we
could add this reasoning to the CodingStyle.

More information about the dev mailing list