aboutsummaryrefslogtreecommitdiffstats
path: root/c_src/sdl_window.c
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-10-17 01:16:32 +0200
committerLoïc Hoguin <[email protected]>2015-10-17 01:16:32 +0200
commit6dff8f35432087bf83e8ca629e9f66c1589286e6 (patch)
tree54ebae54203c5a0e5352b45bd2f6594dd90fa2ce /c_src/sdl_window.c
parent909de2213ed3a20327635965d69dd905e8906e9f (diff)
downloadesdl2-6dff8f35432087bf83e8ca629e9f66c1589286e6.tar.gz
esdl2-6dff8f35432087bf83e8ca629e9f66c1589286e6.tar.bz2
esdl2-6dff8f35432087bf83e8ca629e9f66c1589286e6.zip
Fix various warnings from recent GCC
Diffstat (limited to 'c_src/sdl_window.c')
-rw-r--r--c_src/sdl_window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/c_src/sdl_window.c b/c_src/sdl_window.c
index c644c09..4989ba5 100644
--- a/c_src/sdl_window.c
+++ b/c_src/sdl_window.c
@@ -14,6 +14,8 @@
#include "esdl2.h"
+NIF_ATOM_TO_ENUM_FUNCTION_DECL(atom_to_bool, SDL_bool)
+
void dtor_Window(ErlNifEnv* env, void* obj)
{
SDL_DestroyWindow(NIF_RES_GET(Window, obj));