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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user