Skip to content
Permalink
Browse files

omnibot: fixed ISO C++11 string conversion warning

  • Loading branch information
rmarquis committed Feb 13, 2020
1 parent 00f6cf4 commit b265078ac57922fbedb2a304a26b49c1b951a3d1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Omnibot/Common/BotLoadLibrary.cpp
@@ -247,7 +247,7 @@ void OB_ShowLastError(const char *context)

if (!pMessage)
{
pMessage = "<unknown error>";
pMessage = (char *)"<unknown error>";
}
Omnibot_Load_PrintErr(OB_VA("%s Failed with Error: %s", context, pMessage));

0 comments on commit b265078

Please sign in to comment.
You can’t perform that action at this time.