Fixing implicit narrow warning.
This commit is contained in:
@@ -2330,7 +2330,7 @@ int Translate_DID_SATURATE(TranslationContext& ctx, Instr* i) {
|
||||
vec128_t& dest = ics.rf[i->dest_reg].v128; \
|
||||
for (int n = 0; n < count; n++) { \
|
||||
dest.dest_value[n] = \
|
||||
((type)src1.value[n] op(type) src2.value[n]) ? 0xFFFFFFFF : 0; \
|
||||
((type)src1.value[n] op(type) src2.value[n]) ? (type)0xFFFFFFFF : 0; \
|
||||
} \
|
||||
return IA_NEXT;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user