fix gcc build

This commit is contained in:
dzaima 2022-03-16 14:14:31 +02:00
parent 7b031a2aa0
commit c1d2dd7168

View File

@ -163,10 +163,11 @@ DEF_G(void, copy, B, (Mut* m, usz ms, B x, usz xs, usz l)) {
case t_f64arr: case t_f64slice:
memcpy(mpo, f64any_ptr(x)+xs, l*sizeof(B));
return;
default:
default: {
SGet(x)
for (usz i = 0; i < l; i++) mpo[i] = Get(x,i+xs);
return;
}
}
}