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

Ben Pfaff blp at nicira.com
Wed Aug 26 16:04:24 UTC 2015


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.



More information about the dev mailing list