1
0
forked from GitHub/gf-core

a patch from Bjørnar Luteberget for compatibility with MSVC

This commit is contained in:
krasimir
2017-04-12 10:24:56 +00:00
parent 915747efa7
commit a8eaa2f2e5
17 changed files with 72 additions and 28 deletions

View File

@@ -437,7 +437,7 @@ pgf_evaluate_accum_init_flt(PgfReasoner* rs,
rs->pool);
lit_flt->val = val;
accum->enter_stack_ptr = rs->enter_stack_ptr;
rs->enter_stack_ptr = ((void*)accum)-sizeof(void*)*2;
rs->enter_stack_ptr = ((char*)accum)-sizeof(char*)*2;
accum->consts = NULL;
}