cabinet/fdi.c: Fix compiler warning with flag -Wcast-qual

Mikhail Maroukhine mikolg at yandex.ru
Sat Mar 27 02:50:49 CDT 2010


cabinet/fdi.c: Fix compiler warning with flag -Wcast-qual

field fdi_file.filename should not be declared as const pointer because in  
the code memory block is allocated to this field.
And owner of fdi_file struct is responsible to free that memory

Mikhail
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0008-cabinet-fdi.c-Fix-compiler-warning-with-flag-Wcast-qua.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100327/9bbb2abe/attachment-0001.txt>


More information about the wine-patches mailing list