We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7380a20 commit ca9b0baCopy full SHA for ca9b0ba
src/common.h
@@ -19,7 +19,7 @@ namespace {
19
std::string error_msg(const char* method, LONG result) {
20
char msg[ERR_MSG_MAX_LEN];
21
#ifdef _WIN32
22
- LPVOID lpMsgBuf;
+ LPTSTR lpMsgBuf;
23
FormatMessageA(FORMAT_MESSAGE_ALLOCATE_BUFFER |
24
FORMAT_MESSAGE_FROM_SYSTEM |
25
FORMAT_MESSAGE_IGNORE_INSERTS,
@@ -43,7 +43,7 @@ namespace {
43
"%s error: %s(0x%.8x)",
44
method,
45
pcsc_stringify_error(result),
46
- result);
+ result);
47
#else
48
snprintf(msg,
49
ERR_MSG_MAX_LEN,
0 commit comments