summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/gcov-io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/gcov-io.h b/src/lib/gcov-io.h
index 14524248db..af2d292fd1 100644
--- a/src/lib/gcov-io.h
+++ b/src/lib/gcov-io.h
@@ -443,7 +443,7 @@ struct gcov_fn_info {
gcov_unsigned_t ident; /* unique ident of function */
gcov_unsigned_t lineno_checksum; /* function lineo_checksum */
gcov_unsigned_t cfg_checksum; /* function cfg checksum */
- struct gcov_ctr_info ctrs[0]; /* instrumented counters */
+ struct gcov_ctr_info ctrs[]; /* instrumented counters */
};
/* Type of function used to merge counters. */