7 Jan
2022
7 Jan
'22
11:51 a.m.
January 7, 2022 6:42 AM, "Giovanni Mascellani" <gmascellani(a)codeweavers.com> wrote:
Hi,
On 06/01/22 18:39, Francisco Casas wrote:
+ case HLSL_TYPE_INT: + tgt->value[k].i = -src->value[k].i; + break;
Alas, negation isn't safe either: -INT_MIN is undefined behavior, and you have to do the unsigned trick here too.
Giovanni.
Good catch! I didn't knew that. Okay