Skip to content

Commit

Permalink
swap memset parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
f4ftx committed Jul 27, 2017
1 parent 6678342 commit db50dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/fpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -3289,7 +3289,7 @@ void inst_fpu_other () {
void fpu_initialize()
{
fpu_state_t *fpu = (fpu_state_t*)p_alloc(shoe.pool, sizeof(fpu_state_t));
memset(fpu, sizeof(fpu_state_t), 0);
memset(fpu, 0, sizeof(fpu_state_t));
shoe.fpu_state = fpu;
}

Expand Down

0 comments on commit db50dae

Please sign in to comment.