1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-03-24 18:16:24 +01:00

Fix warning

This commit is contained in:
Meatballs 2013-04-27 12:52:38 +01:00
parent 73a386f49c
commit d5b8577d6a

@ -198,10 +198,10 @@ wstring escape(const wstring& s)
wstring::const_iterator it = s.begin(); wstring::const_iterator it = s.begin();
while (it != s.end()) while (it != s.end())
{ {
char c = *it++; wchar_t c = *it++;
if (c == '"') if (c == L'"')
{ {
res += '"'; res += L'"';
} }
res += c; res += c;
} }