1
mirror of https://github.com/rapid7/metasploit-payloads synced 2024-12-08 23:33:07 +01:00

Fix warning

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

View File

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