mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
No sign extension for negative values.
This commit is contained in:
parent
8cdcbbb342
commit
7dba7d3138
@ -5238,7 +5238,7 @@ HRESULT WINAPI VarBstrFromI4(LONG lIn, LCID lcid, ULONG dwFlags, BSTR* pbstrOut)
|
||||
|
||||
if (lIn < 0)
|
||||
{
|
||||
ul64 = -lIn;
|
||||
ul64 = (ULONG)-lIn;
|
||||
dwFlags |= VAR_NEGATIVE;
|
||||
}
|
||||
return VARIANT_BstrFromUInt(ul64, lcid, dwFlags, pbstrOut);
|
||||
|
Loading…
Reference in New Issue
Block a user