aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan <sentrycraft123@gmail.com>2023-06-29 04:12:19 +0100
committerGitHub <noreply@github.com>2023-06-28 23:12:19 -0400
commitd7f8dd76124b65b69338ac7428e2cadd5c5cac3c (patch)
treeb04c69b541ce1b4e574861be698b6df2e34df4f3
parentd50739ac01ef50c9ecda01f3cde889630e5652aa (diff)
downloadNorthstarLauncher-d7f8dd76124b65b69338ac7428e2cadd5c5cac3c.tar.gz
NorthstarLauncher-d7f8dd76124b65b69338ac7428e2cadd5c5cac3c.zip
Fix const pointer const (#488)
-rw-r--r--NorthstarDLL/util/printmaps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/NorthstarDLL/util/printmaps.cpp b/NorthstarDLL/util/printmaps.cpp
index 65332887..dd825bff 100644
--- a/NorthstarDLL/util/printmaps.cpp
+++ b/NorthstarDLL/util/printmaps.cpp
@@ -118,7 +118,7 @@ void RefreshMapList()
// clang-format off
AUTOHOOK(_Host_Map_f_CompletionFunc, engine.dll + 0x161AE0,
-int, __fastcall, (const char const* cmdname, const char const* partial, char commands[COMMAND_COMPLETION_MAXITEMS][COMMAND_COMPLETION_ITEM_LENGTH]))
+int, __fastcall, (const char *const cmdname, const char *const partial, char commands[COMMAND_COMPLETION_MAXITEMS][COMMAND_COMPLETION_ITEM_LENGTH]))
// clang-format on
{
RefreshMapList();