From: Jaroslav Kysela Date: Wed, 9 Dec 2015 19:04:47 +0000 (+0100) Subject: wizard: fix compilation error X-Git-Tag: v4.2.1~1330 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e26e3efdcab8ee0e54545c4d7991bcfa9d2cfca;p=thirdparty%2Ftvheadend.git wizard: fix compilation error --- diff --git a/src/wizard.c b/src/wizard.c index 5dfcfbed8..e5900489b 100644 --- a/src/wizard.c +++ b/src/wizard.c @@ -71,7 +71,7 @@ static int wizard_set_value_##field(void *o, const void *v) \ { \ wizard_page_t *p = o; \ stru *w = p->aux; \ - snprintf(w->field, sizeof(w->field), v); \ + snprintf(w->field, sizeof(w->field), "%s", (const char *)v); \ return 1; \ }