Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
louiz’
biboumi
Commits
a85e1aba
Commit
a85e1aba
authored
Nov 14, 2013
by
louiz’
Browse files
Fix a warning
parent
641166b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/xmpp/xmpp_stanza.cpp
View file @
a85e1aba
...
...
@@ -42,7 +42,7 @@ std::string xml_unescape(const std::string& data)
std
::
string
res
;
res
.
reserve
(
data
.
size
());
const
char
*
str
=
data
.
c_str
();
while
(
str
&&
*
str
&&
(
str
-
data
.
c_str
())
<
data
.
size
())
while
(
str
&&
*
str
&&
static_cast
<
size_t
>
(
str
-
data
.
c_str
())
<
data
.
size
())
{
if
(
*
str
==
'&'
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment