From 5f9cdeaa04ae64fe9375596fffaa6678b580e74e Mon Sep 17 00:00:00 2001 From: "Name: ________________" <112137590+mlibre2@users.noreply.github.com> Date: Sat, 19 Oct 2024 13:04:24 -0400 Subject: [PATCH] Update game_support.cpp --- metamod/game_support.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metamod/game_support.cpp b/metamod/game_support.cpp index bcb2117..95113d9 100644 --- a/metamod/game_support.cpp +++ b/metamod/game_support.cpp @@ -194,7 +194,7 @@ mBOOL DLLINTERNAL setup_gamedll(gamedll_t *gamedll) { STRNCPY(temp_str, knownfn, sizeof(temp_str)); strippedfn = temp_str; - char *loc = strrchr(strippedfn, '_'); + const char *loc = strrchr(strippedfn, '_'); // A small safety net here: make sure that we are dealing with // a file name at least four characters long and ending in