From db50dae81042485722f23cddf2397cdd222c8d48 Mon Sep 17 00:00:00 2001 From: f4ftx Date: Thu, 27 Jul 2017 19:04:29 +0200 Subject: [PATCH] swap memset parameters --- core/fpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/fpu.c b/core/fpu.c index a1720ad..79a0047 100644 --- a/core/fpu.c +++ b/core/fpu.c @@ -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; }