authorgravatar for jhc@dismail.deJimmi Holst Christensen <jhc@dismail.de> 2018-04-28 19:09:25+02:00
committergravatar for jhc@dismail.deJimmi Holst Christensen <jhc@dismail.de> 2018-04-28 19:09:25+02:00
logd6f033b42dcb49cfe45cb61821f2f451e4004686
tree790177f335b6a1485a6468946687fb4f9037fbd8
parent837166319dd1a5df14e5d4bebd62080bb6ebdaa1

Fixed build error


1 files changed, 1 insertions(+), 1 deletions(-)

src/analyze.cpp+1-1
...@@ -1264,7 +1264,7 @@ void init_fn_type_id(FnTypeId *fn_type_id, AstNode *proto_node, size_t param_cou...@@ -1264,7 +1264,7 @@ void init_fn_type_id(FnTypeId *fn_type_id, AstNode *proto_node, size_t param_cou
12641264
1265 // We set param_info to 0, as param_info[i]->type is checked for null1265 // We set param_info to 0, as param_info[i]->type is checked for null
1266 // when checking if a parameters type has been resolved.1266 // when checking if a parameters type has been resolved.
1267 memset(fn_type_id->param_info, 0, sizeof(fn_type_id->param_info[i]) * fn_type_id->param_count);1267 memset(fn_type_id->param_info, 0, sizeof(fn_type_id->param_info[0]) * fn_type_id->param_count);
1268}1268}
12691269
1270static bool analyze_const_align(CodeGen *g, Scope *scope, AstNode *node, uint32_t *result) {1270static bool analyze_const_align(CodeGen *g, Scope *scope, AstNode *node, uint32_t *result) {