Re: [libvirt-php 2/2] Fix compilation warnings

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

 



On Wed, Feb 09, 2011 at 02:11:40PM +0100, Michal Novotny wrote:
> Hi,
> this is the patch to fix the compilation warnings like:
> 
> libvirt.c: In function âzif_libvirt_node_get_infoâ:
> libvirt.c:613:2: warning: passing argument 4 of âadd_assoc_string_exâ makes pointer from integer without a cast
> /usr/include/php/Zend/zend_API.h:360:45: note: expected âchar *â but argument is of type âlong intâ
> libvirt.c: In function âzif_libvirt_domain_get_nameâ:
> libvirt.c:1081:6: warning: assignment discards qualifiers from pointer target type
> 
> With this patch applied I was unable to see any warning to the number warnings
> dropped to zero on my Fedora-14 box.

  Cool, thanks !
I'm not sure I should ACK I guess you don't have to be too formal :-)

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]