Skip to content

Commit

Permalink
final warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo40Git committed Dec 13, 2024
1 parent 4ab520d commit 7b4c71f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SteamPriorityLauncher/SteamPriorityLauncher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ int main(int argc, char* argv[])
strcat_s(steamCmd, gameID);

// run the command
int errcode = 0;
if ((errcode = (int)ShellExecuteA(NULL, "open", steamCmd, NULL, NULL, SW_SHOW)) <= 32) {
DWORD errcode = 0;
if ((errcode = reinterpret_cast<DWORD>(ShellExecuteA(NULL, "open", steamCmd, NULL, NULL, SW_SHOW))) <= 32) {
printError("ShellExecuteA failed", errcode);
return EXIT_FAILURE;
}
Expand Down

0 comments on commit 7b4c71f

Please # to comment.