Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Server/Misc: cast it instead
Browse files Browse the repository at this point in the history
  • Loading branch information
AriDEV3 committed Oct 30, 2023
1 parent cff278f commit c2cbd0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/game/Globals/ObjectMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ std::string GetScriptCommandName(ScriptCommands command)
default:
{
char sz[32];
snprintf(sz, sizeof(sz), "Unknown command: %bd", command);
snprintf(sz, sizeof(sz), "Unknown command: %d", uint32(command));
res = sz;
break;
}
Expand Down

0 comments on commit c2cbd0f

Please sign in to comment.