[ovs-dev] [PATCH 04/32] ovs-vsctl: Fix misused casts.
Ben Pfaff
blp at nicira.com
Mon Feb 23 05:19:56 UTC 2015
Without the casts, the argument types match the format specifiers.
Signed-off-by: Ben Pfaff <blp at nicira.com>
---
utilities/ovs-vsctl.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/utilities/ovs-vsctl.c b/utilities/ovs-vsctl.c
index 00e48d5..84fca8a 100644
--- a/utilities/ovs-vsctl.c
+++ b/utilities/ovs-vsctl.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, 2010, 2011, 2012, 2013, 2014 Nicira, Inc.
+ * Copyright (c) 2009, 2010, 2011, 2012, 2013, 2014, 2015 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -2698,8 +2698,8 @@ cmd_get_aa_mapping(struct vsctl_context *ctx)
for (i = 0; i < br->br_cfg->auto_attach->n_mappings; i++) {
ds_put_format(&ctx->output, "%"PRId64" %"PRId64"\n",
- (long int) br->br_cfg->auto_attach->key_mappings[i],
- (long int) br->br_cfg->auto_attach->value_mappings[i]);
+ br->br_cfg->auto_attach->key_mappings[i],
+ br->br_cfg->auto_attach->value_mappings[i]);
}
}
}
--
2.1.3
More information about the dev
mailing list