[PATCH 1/2] lzexpand: LZOpenFile - add constness to the INPUT parameters

Mikhail Maroukhine mikolg at yandex.ru
Sun Mar 28 06:43:59 CDT 2010


lzexpand: LZOpenFile - add constness to the INPUT parameters

In the MSDN for LZOpenFile function file name parameter declared as " IN ".
So it's safe to declare it as const - API stay compatible.
But allows remove unneeded casts in the code and avoid compiler warnings.

Mikhail
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0029-lzexpand-LZOpenFile-add-constness-to-the-INPUT-paramet.txt
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100328/3694e815/attachment-0001.txt>


More information about the wine-patches mailing list