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

@@ -75,7 +75,7 @@ static char *_make_string(xmpp_ctx_t *ctx, const char *s, const unsigned len)
static char *_make_quoted(xmpp_ctx_t *ctx, const char *s)
{
char *result;
int len = strlen(s);
size_t len = strlen(s);
result = xmpp_alloc(ctx, len + 3);
if (result != NULL) {