Permalink
Browse files

Windows: Fix error formatting with % signs.

  • Loading branch information...
unknownbrackets committed Nov 25, 2017
1 parent dd6886a commit 9eccea2d5ed43e3e25f0959c8d2cd1f0df4392a0
Showing with 1 addition and 1 deletion.
  1. +1 −1 Common/Misc.cpp
@@ -50,7 +50,7 @@ const char *GetStringErrorMsg(int errCode) {
err_strw, buff_size, NULL);
static __declspec(thread) char err_str[buff_size] = {};
snprintf(err_str, buff_size, ConvertWStringToUTF8(err_strw).c_str());
snprintf(err_str, buff_size, "%s", ConvertWStringToUTF8(err_strw).c_str());
#else
static __thread char err_str[buff_size] = {};

0 comments on commit 9eccea2

Please sign in to comment.