diff options
Diffstat (limited to 'vppapigen')
-rw-r--r-- | vppapigen/node.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vppapigen/node.c b/vppapigen/node.c index 966ff817359..3a32abec63b 100644 --- a/vppapigen/node.c +++ b/vppapigen/node.c @@ -285,8 +285,8 @@ 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 < %d; _i++) {\n", - (int)(u64)(deeper->data[1])); + fprintf(ofp, "for (_i = 0; _i < %u; _i++) {\n", + (u64)(deeper->data[1])); indent += 4; indent_me(ofp); fprintf(ofp, "mp->%s[_i] = %s(%sP[_i]);\n", |