[PATCH] compile warning

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

 



I get a compile warning using my aged gcc 4.1.1
 main.c:332: warning: passing argument 1 of ?free? discards qualifiers
from pointer target type
The pointer passed to free() has been originally declared as "const",
but now this property has been dropped.

Patch in attachment fixes the declaration.

Best Regards,
Antonio Borneo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_const_useragent.diff
Type: text/x-patch
Size: 350 bytes
Desc: not available
URL: <http://bombadil.infradead.org/pipermail/openconnect-devel/attachments/20090806/6f264b67/attachment.bin>


[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux