On Thu, Mar 01, 2018 at 06:21:15AM -0800, [email protected] wrote:
> /tmp/qemu-test/src/block/curl.c: In function 'curl_open':
> /tmp/qemu-test/src/block/curl.c:770:15: error: assignment discards 'const' 
> qualifier from pointer target type [-Werror=discarded-qualifiers]
>      s->cainfo = qemu_opt_get(opts, CURL_BLOCK_OPT_CAINFO);
>                ^

Ooops - frees const data.  I'll fix this in the next iteration.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW

Reply via email to