Navigation Menu

Skip to content

Commit

Permalink
Remove needless "-1"
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 19, 2015
1 parent 4768c70 commit 8b73383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/proc.c
Expand Up @@ -7334,7 +7334,7 @@ proc_schema_types(grn_ctx *ctx)
GRN_OUTPUT_CSTR("types");

n = GRN_BULK_VSIZE(&types) / sizeof(grn_obj *);
GRN_OUTPUT_ARRAY_OPEN("types", n - 1);
GRN_OUTPUT_ARRAY_OPEN("types", n);
for (i = 0; i < n; i++) {
grn_obj *type;

Expand Down

0 comments on commit 8b73383

Please sign in to comment.