diff options
author | Jesse Gross <jesse@nicira.com> | 2010-12-11 22:51:31 -0800 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2010-12-13 11:07:15 -0800 |
commit | cf22f8cba328c0fb47a7e6811563f773fc232904 (patch) | |
tree | 364ba6bdbe4d3568b9fa2d380517c1220fe7d37a /lib/dpif.c | |
parent | dd2cb550e56ddc937b917e29a5ccdb920787c7ef (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)); |