Skip to content

Commit

Permalink
Fix bad use of const char to initialize a char*.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberium committed Jul 24, 2016
1 parent eb6af5f commit d5b7377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/ObjectMgr.cpp
Expand Up @@ -6926,7 +6926,7 @@ void ObjectMgr::LoadNPCSpellClickSpells()
sLog.outString();
}

static char* SERVER_SIDE_SPELL = static_cast<char*>("MaNGOS server-side spell");
static char SERVER_SIDE_SPELL[] = "CMaNGOS server-side spell";

struct SQLSpellLoader : public SQLStorageLoaderBase<SQLSpellLoader, SQLHashStorage>
{
Expand Down

2 comments on commit d5b7377

@cala
Copy link
Contributor

@cala cala commented on d5b7377 Jul 25, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congrats on 8000th commit! 😉

@killerwife
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ITS OVER EIGHT THOUSAAAAND (trivia: this is the original)

Please sign in to comment.