fix const-warning

Wed, 06 Mar 2024 23:12:56 +0100

author
Mike Becker <universe@uap-core.de>
date
Wed, 06 Mar 2024 23:12:56 +0100
changeset 34
45d29d7221cc
parent 33
e7ddb52facd3
child 35
674eb53c12f3

fix const-warning

src/window.c file | annotate | diff | comparison | revisions
--- a/src/window.c	Wed Mar 06 23:08:03 2024 +0100
+++ b/src/window.c	Wed Mar 06 23:12:56 2024 +0100
@@ -207,5 +207,5 @@
 
 void asc_window_activate(AscWindow const *window) {
     SDL_GL_MakeCurrent(window->window, window->glctx);
-    asc_context.active_window = window;
+    asc_context.active_window = (AscWindow *)window;
 }

mercurial