From 12e3e525374925654a1f0b53b351c76ea19c5b5f Mon Sep 17 00:00:00 2001 From: Codex Date: Fri, 30 Oct 2026 23:33:15 +0100 Subject: [PATCH] Use the SDL entry-point signature in the video lifetime test (by Codex) --- tests/video_session_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/video_session_tests.cpp b/tests/video_session_tests.cpp index d5163d7..ac2de16 100644 --- a/tests/video_session_tests.cpp +++ b/tests/video_session_tests.cpp @@ -1,7 +1,7 @@ // SPDX-License-Identifier: GPL-3.0-only #include "app/video_session.hpp" #include -int main()try { +int main(int, char**)try { SDL_setenv("SDL_VIDEODRIVER","dummy",1); { bmh::app::VideoSession video; if (!(SDL_WasInit(SDL_INIT_VIDEO) & SDL_INIT_VIDEO)) return 1;