aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDLL/core/convar
diff options
context:
space:
mode:
authorJack <66967891+ASpoonPlaysGames@users.noreply.github.com>2023-10-07 13:28:43 +0100
committerGitHub <noreply@github.com>2023-10-07 14:28:43 +0200
commit024605399a4878f97fd789416d9ea4234241f039 (patch)
tree0595fa4df1cf185416bdec4c63c3db106504725a /NorthstarDLL/core/convar
parentc093ee10f004f7e2b8be2b326a4b087392ded544 (diff)
downloadNorthstarLauncher-024605399a4878f97fd789416d9ea4234241f039.tar.gz
NorthstarLauncher-024605399a4878f97fd789416d9ea4234241f039.zip
Reduce warnings due to calling conventions (#555)v1.19.5-rc1v1.19.5
Fix instances of "anachronism used: modifiers on data are ignored"
Diffstat (limited to 'NorthstarDLL/core/convar')
-rw-r--r--NorthstarDLL/core/convar/concommand.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/NorthstarDLL/core/convar/concommand.h b/NorthstarDLL/core/convar/concommand.h
index 89363bc7..c11c7ea4 100644
--- a/NorthstarDLL/core/convar/concommand.h
+++ b/NorthstarDLL/core/convar/concommand.h
@@ -83,8 +83,7 @@ typedef void (*FnCommandCallback_t)(const CCommand& command);
//-----------------------------------------------------------------------------
// Returns 0 to COMMAND_COMPLETION_MAXITEMS worth of completion strings
//-----------------------------------------------------------------------------
-typedef int (*__fastcall FnCommandCompletionCallback)(
- const char* partial, char commands[COMMAND_COMPLETION_MAXITEMS][COMMAND_COMPLETION_ITEM_LENGTH]);
+typedef int (*FnCommandCompletionCallback)(const char* partial, char commands[COMMAND_COMPLETION_MAXITEMS][COMMAND_COMPLETION_ITEM_LENGTH]);
// From r5reloaded
class ConCommandBase