Removed intermediate function pointer cast to integer in theory function call
This commit is contained in:
parent
44d9e436fe
commit
5388dd0341
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ void cr_theory_reset(struct criterion_theory_context *ctx) {
|
|||
}
|
||||
|
||||
void cr_theory_call(struct criterion_theory_context *ctx, void (*fnptr)(void)) {
|
||||
dcCallVoid(ctx->vm, (DCpointer) (unsigned long long) fnptr);
|
||||
dcCallVoid(ctx->vm, (DCpointer) fnptr);
|
||||
}
|
||||
|
||||
static bool contains_word(const char *str, const char *pattern, size_t sz) {
|
||||
|
|
Loading…
Add table
Reference in a new issue