Fix type mismatch

Backported from NetXMS project.
This commit is contained in:
Dmitry Podgorny
2016-09-02 11:59:54 +03:00
parent 0c60e8d384
commit 3e77afb27e
3 changed files with 4 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ static char *_xml_name(xmpp_ctx_t *ctx, const char *nsname)
{
char *result = NULL;
const char *c;
int len;
size_t len;
c = strchr(nsname, NAMESPACE_SEP);
if (c == NULL) return xmpp_strdup(ctx, nsname);