aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2016-04-21 09:24:17 +0200
committerDave Barach <openvpp@barachs.net>2016-04-21 14:04:10 +0000
commit7c1ef8148097d77bfe5f29dfaa813cc39b5fac4b (patch)
treec408a8aa01f83ac511bd95b5a59723d136442f81
parentbd4b59056134ee39c11c83bb052367416cc756e0 (diff)
Fix warning in vppapigen
Change-Id: I6301ece0d772fd5a6271edd07765b05ef0b63f21 Signed-off-by: Damjan Marion <damarion@cisco.com>
-rw-r--r--vppapigen/node.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vppapigen/node.c b/vppapigen/node.c
index ffe5d77e04a..2fb65c2d60b 100644
--- a/vppapigen/node.c
+++ b/vppapigen/node.c
@@ -292,7 +292,7 @@ void primtype_java_code (node_t * this, enum passid which, FILE *ofp,
indent_me(ofp);
fprintf(ofp, "int _i;\n");
indent_me(ofp);
- fprintf(ofp, "for (_i = 0; _i < %u; _i++) {\n",
+ fprintf(ofp, "for (_i = 0; _i < %lu; _i++) {\n",
(u64)(deeper->data[1]));
indent += 4;
indent_me(ofp);