mirror of
https://github.com/reactos/reactos.git
synced 2025-05-19 17:14:32 +00:00
[WIDL] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72409
This commit is contained in:
parent
7cf942787a
commit
1cd18d016a
2 changed files with 5 additions and 5 deletions
|
@ -16,7 +16,7 @@ wine-patches@winehq.com and ros-dev@reactos.org
|
||||||
The following build tools are shared with Wine.
|
The following build tools are shared with Wine.
|
||||||
|
|
||||||
reactos/sdk/tools/unicode # Synced to WineStaging-1.9.16
|
reactos/sdk/tools/unicode # Synced to WineStaging-1.9.16
|
||||||
reactos/sdk/tools/widl # Synced to WineStaging-1.9.11
|
reactos/sdk/tools/widl # Synced to WineStaging-1.9.16
|
||||||
reactos/sdk/tools/wpp # Synced to WineStaging-1.9.11
|
reactos/sdk/tools/wpp # Synced to WineStaging-1.9.11
|
||||||
|
|
||||||
The following libraries are shared with Wine.
|
The following libraries are shared with Wine.
|
||||||
|
|
|
@ -222,8 +222,8 @@ expr_t *make_exprt(enum expr_type type, var_t *var, expr_t *expr)
|
||||||
e->is_const = TRUE;
|
e->is_const = TRUE;
|
||||||
if (is_signed_integer_type(tref))
|
if (is_signed_integer_type(tref))
|
||||||
{
|
{
|
||||||
cast_mask = (1 << (cast_type_bits - 1)) - 1;
|
cast_mask = (1u << (cast_type_bits - 1)) - 1;
|
||||||
if (expr->cval & (1 << (cast_type_bits - 1)))
|
if (expr->cval & (1u << (cast_type_bits - 1)))
|
||||||
e->cval = -((-expr->cval) & cast_mask);
|
e->cval = -((-expr->cval) & cast_mask);
|
||||||
else
|
else
|
||||||
e->cval = expr->cval & cast_mask;
|
e->cval = expr->cval & cast_mask;
|
||||||
|
@ -231,8 +231,8 @@ expr_t *make_exprt(enum expr_type type, var_t *var, expr_t *expr)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* calculate ((1 << cast_type_bits) - 1) avoiding overflow */
|
/* calculate ((1 << cast_type_bits) - 1) avoiding overflow */
|
||||||
cast_mask = ((1 << (cast_type_bits - 1)) - 1) |
|
cast_mask = ((1u << (cast_type_bits - 1)) - 1) |
|
||||||
1 << (cast_type_bits - 1);
|
1u << (cast_type_bits - 1);
|
||||||
e->cval = expr->cval & cast_mask;
|
e->cval = expr->cval & cast_mask;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue