msi: Cast the total memory to an unsigned int to avoid overflow
in machines with more than 2Gb of RAM [resend]
Alexandre Julliard
julliard at winehq.org
Thu Jun 15 04:04:41 CDT 2006
"James Hawkins" <truiken at gmail.com> writes:
> 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.
The existing code should work fine, and yours will return 0 for a 4Gb
box... It sounds like the problem is in GlobalMemoryStatusEx.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list