Skip to content

Commit

Permalink
windows fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
soundandform committed Feb 6, 2020
1 parent c7d4450 commit f209be8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions source/m3_compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -762,8 +762,8 @@ M3Result Compile_Const_f32 (IM3Compilation o, u8 i_opcode)
{
M3Result result;

union { u64 u; f32 f; } value = {};

union { u64 u; f32 f; } value = { 0 };
_ (Read_f32 (& value.f, & o->wasm, o->wasmEnd)); m3log (compile, d_indent "%s (const f32 = %f)", get_indention_string (o), value);
_ (PushConst (o, value.u, c_m3Type_f32));

Expand All @@ -775,7 +775,7 @@ M3Result Compile_Const_f64 (IM3Compilation o, u8 i_opcode)
{
M3Result result;

union { u64 u; f64 f; } value = {};
union { u64 u; f64 f; } value = { 0 };

_ (Read_f64 (& value.f, & o->wasm, o->wasmEnd)); m3log (compile, d_indent "%s (const f64 = %lf)", get_indention_string (o), value);
_ (PushConst (o, value.u, c_m3Type_f64));
Expand Down
2 changes: 1 addition & 1 deletion source/m3_compile.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include "m3_code.h"
#include "m3_exec_defs.h"

d_m3BeginExternC
d_m3BeginExternC

enum
{
Expand Down

0 comments on commit f209be8

Please sign in to comment.