compiler: Fix erroneous use of VEC.
From-SVN: r187664
This commit is contained in:
parent
0ac3cb2a66
commit
b8b552d99b
1 changed files with 1 additions and 1 deletions
|
@ -401,7 +401,7 @@ Gogo::register_gc_vars(const std::vector<Named_object*>& var_gc,
|
|||
|
||||
// Build a constructor for the struct.
|
||||
|
||||
VEC(constructor_elt,gc*) root_list_init = VEC_alloc(constructor_elt, gc, 2);
|
||||
VEC(constructor_elt,gc)* root_list_init = VEC_alloc(constructor_elt, gc, 2);
|
||||
|
||||
elt = VEC_quick_push(constructor_elt, root_list_init, NULL);
|
||||
field = TYPE_FIELDS(root_list_type);
|
||||
|
|
Loading…
Add table
Reference in a new issue