qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/2] block: curl: Proof of concept for connectin


From: Richard W.M. Jones
Subject: Re: [Qemu-devel] [PATCH 0/2] block: curl: Proof of concept for connecting to oVirt.
Date: Thu, 1 Mar 2018 14:31:49 +0000
User-agent: Mutt/1.5.20 (2009-12-10)

On Thu, Mar 01, 2018 at 06:21:15AM -0800, address@hidden 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

[Prev in Thread] Current Thread [Next in Thread]