Skip to content

Commit

Permalink
Deprecation warning fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
brainiac committed Jan 5, 2024
1 parent bd280e2 commit 0d8e8f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MQ2Log.cpp
Expand Up @@ -94,7 +94,7 @@ void MacroLogClean(PSPAWNINFO pChar, PCHAR szLine)
}

sprintf_s(szBuffer, "%s", szLine);
ParseMacroParameter(pChar, szBuffer);
ParseMacroParameter(szBuffer);
fprintf(fOut, "%s\n", szBuffer);
DebugSpew("MacroLog - %s", szBuffer);

Expand Down Expand Up @@ -133,7 +133,7 @@ void MacroLogCustom(PSPAWNINFO pChar, PCHAR szLine)
}

sprintf_s(szBuffer, "%s", Arg2);
ParseMacroParameter(pChar, szBuffer);
ParseMacroParameter(szBuffer);
fprintf(fOut, "%s\n", szBuffer);
DebugSpew("MacroLog - %s", szBuffer);

Expand Down

0 comments on commit 0d8e8f5

Please sign in to comment.