2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +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

@@ -392,7 +392,7 @@ dpif_linux_flow_list(const struct dpif *dpif_, struct odp_flow flows[], int n)
static int
dpif_linux_execute(struct dpif *dpif_,
const struct nlattr *actions, unsigned int actions_len,
const struct nlattr *actions, size_t actions_len,
const struct ofpbuf *buf)
{
struct odp_execute execute;