msi: Cast the total memory to an unsigned int to avoid overflow in machines with more than 2Gb of RAM [resend]

James Hawkins truiken at gmail.com
Thu Jun 15 02:28:14 CDT 2006


Hey,

Is there anything wrong with this patch?  I have a machine with 3gb of
ram and a lot of installers complain that I don't have enough memory.
3gb should certainly satisfy a 32mb condition, but we return "-1303"
etc.

Changelog:
* Cast the total memory to an unsigned int to avoid overflow in
machines with more than 2Gb of RAM.

 dlls/msi/package.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

--
James Hawkins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bigmem-cast.diff
Type: text/x-patch
Size: 647 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060615/7f503159/bigmem-cast-0001.diff


More information about the wine-patches mailing list