Skip to content

Commit

Permalink
WebRequest: change char to TCHAR (#1173)
Browse files Browse the repository at this point in the history
  • Loading branch information
bramoosterhuis committed Dec 15, 2022
1 parent 0e9df3a commit 93e1f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/websocket/WebRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ POP_WARNING()
end = buffer.find_first_of(DELIMETERS, start);
if (end - start > 0) {
string word = string(buffer, start, end - start);
std::transform(word.begin(), word.end(), word.begin(), [](char c){ return std::toupper(c); } );
std::transform(word.begin(), word.end(), word.begin(), [](TCHAR c){ return std::toupper(c); } );
if (word == strValue) {
status = true;
break;
Expand Down

0 comments on commit 93e1f16

Please sign in to comment.