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.