2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-17 14:28:02 +00:00

vswitchd: Consistently use size_t for action lengths.

Currently the type of the datapath action length is mixture of
size_t and unsigned int.  However, size_t is really defined as an
unsigned long, which causes the build to fail on 64-bit platforms.
This consistently uses size_t.
This commit is contained in:
Jesse Gross
2010-12-11 22:51:31 -08:00
parent dd2cb550e5
commit cf22f8cba3
8 changed files with 13 additions and 13 deletions

View File

@@ -171,7 +171,7 @@ format_odp_action(struct ds *ds, const struct nlattr *a)
void
format_odp_actions(struct ds *ds, const struct nlattr *actions,
unsigned int actions_len)
size_t actions_len)
{
if (actions_len) {
const struct nlattr *a;