diff --git a/src/scripting/python/hooks.c b/src/scripting/python/hooks.c index 7cba0733..4615e188 100644 --- a/src/scripting/python/hooks.c +++ b/src/scripting/python/hooks.c @@ -218,7 +218,7 @@ script_hook_pre_format_html(va_list ap, void *data) mem_free(dec_data); goto error; } - inbuf = str; + inbuf = (char *)str; outbuf = dec_data; ileft = len; oleft = len * 4;