From: Jaroslav Kysela Date: Wed, 9 Dec 2015 20:05:31 +0000 (+0100) Subject: wizard: fix compilation error (2nd) X-Git-Tag: v4.2.1~1329 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c766d167088f292a7e29ca0ed4693f7f9592332a;p=thirdparty%2Ftvheadend.git wizard: fix compilation error (2nd) --- diff --git a/src/wizard.c b/src/wizard.c index e5900489b..25a15194d 100644 --- a/src/wizard.c +++ b/src/wizard.c @@ -359,7 +359,7 @@ static int network_set_value##num(void *o, const void *v) \ { \ wizard_page_t *p = o; \ wizard_network_t *w = p->aux; \ - snprintf(w->network_type##num, sizeof(w->network_type##num), v); \ + snprintf(w->network_type##num, sizeof(w->network_type##num), "%s", (const char *)v); \ return 1; \ }