From 2efe4e1794fb768dc09a95167eaca6d064c337ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=91=E9=A3=8E?= Date: Wed, 20 Jun 2018 23:14:30 +0800 Subject: [PATCH] bugfix: use c99 adapter (#1415) --- src/bgfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bgfx.cpp b/src/bgfx.cpp index 5e627a6c3..b8aa16b87 100644 --- a/src/bgfx.cpp +++ b/src/bgfx.cpp @@ -4835,7 +4835,7 @@ BGFX_C_API bool bgfx_init(const bgfx_init_t* _init) } union { const bgfx_init_t* c; const bgfx::Init* cpp; } in; - in.c = _init; + in.c = &init; return bgfx::init(*in.cpp); }