projects
/
m6w6
/
ext-psi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
7b47ebb
)
fix build <C99
author
Michael Wallner
<mike@php.net>
Tue, 4 Dec 2018 13:29:21 +0000
(14:29 +0100)
committer
Michael Wallner
<mike@php.net>
Tue, 4 Dec 2018 13:29:21 +0000
(14:29 +0100)
src/context.c
patch
|
blob
|
history
diff --git
a/src/context.c
b/src/context.c
index 308e11badbccfe6facb7b3ed5ddb97c63acff4f8..5776e9fbd997c09eb1aec6b92718f1ddd4b74f2e 100644
(file)
--- a/
src/context.c
+++ b/
src/context.c
@@
-691,6
+691,7
@@
void **psi_context_composite_type_elements(struct psi_context *C,
struct psi_decl_type *dtype;
struct psi_decl_arg *tmp;
void *type, *copy;
+ size_t i;
dtype = psi_decl_type_get_real(darg->type);
@@
-707,7
+708,7
@@
void **psi_context_composite_type_elements(struct psi_context *C,
break;
default:
type = psi_context_decl_arg_type(C, darg);
- for (
size_t
i = 0; i < darg->var->array_size; ++i) {
+ for (i = 0; i < darg->var->array_size; ++i) {
copy = C->ops->copyof_type(C, type);
*eles = psi_plist_add(*eles, ©);
}