aboutsummaryrefslogtreecommitdiff
path: root/lib/dpif.c
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2010-12-11 22:51:31 -0800
committerJesse Gross <jesse@nicira.com>2010-12-13 11:07:15 -0800
commitcf22f8cba328c0fb47a7e6811563f773fc232904 (patch)
tree364ba6bdbe4d3568b9fa2d380517c1220fe7d37a /lib/dpif.c
parentdd2cb550e56ddc937b917e29a5ccdb920787c7ef (diff)
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.
Diffstat (limited to 'lib/dpif.c')
-rw-r--r--lib/dpif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dpif.c b/lib/dpif.c
index d4d9b340..a0f638af 100644
--- a/lib/dpif.c
+++ b/lib/dpif.c
@@ -1132,7 +1132,7 @@ static void
log_flow_message(const struct dpif *dpif, int error, const char *operation,
const struct odp_flow_key *flow,
const struct odp_flow_stats *stats,
- const struct nlattr *actions, unsigned int actions_len)
+ const struct nlattr *actions, size_t actions_len)
{
struct ds ds = DS_EMPTY_INITIALIZER;
ds_put_format(&ds, "%s: ", dpif_name(dpif));