From 1ee33dec234f2c5752583484831a6ae70782b5b3 Mon Sep 17 00:00:00 2001 From: sin Date: Mon, 15 Sep 2014 16:04:34 +0100 Subject: Fix one more warning --- ratatox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ratatox.c') diff --git a/ratatox.c b/ratatox.c index d990420..eec57c5 100644 --- a/ratatox.c +++ b/ratatox.c @@ -590,7 +590,7 @@ dofriend(char *cmd, size_t sz) } str2id(args[1], id); - r = tox_add_friend(tox, id, msgstr, strlen(msgstr)); + r = tox_add_friend(tox, id, msgstr, strlen((const char *)msgstr)); switch (r) { case TOX_FAERR_TOOLONG: fprintf(stderr, "Message is too long\n"); -- cgit v1.2.3